This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
GNU C Library master sources branch, master, updated. glibc-2.11-175-gb34e12e
- From: roland at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 27 Jan 2010 01:45:08 -0000
- Subject: GNU C Library master sources branch, master, updated. glibc-2.11-175-gb34e12e
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via b34e12e22c00d74ee549ae9ac304f64d1d6374d5 (commit)
from 1112095740b82eeaea36d2567ea98c6745ef1d13 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=b34e12e22c00d74ee549ae9ac304f64d1d6374d5
commit b34e12e22c00d74ee549ae9ac304f64d1d6374d5
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Jan 26 17:44:58 2010 -0800
Give Hurd weak aliases for getsysstats get_* functions.
diff --git a/ChangeLog b/ChangeLog
index 48ca52e..713c713 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-01-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
+
+ * sysdeps/mach/getsysstats.c (get_nprocs_conf, get_nprocs,
+ get_phys_pages, get_avphys_pages): Add weak aliases.
+
2010-01-25 Andreas Schwab <schwab@redhat.com>
* iconv/iconv_prog.c (write_output): Fix check for open failure.
diff --git a/sysdeps/mach/getsysstats.c b/sysdeps/mach/getsysstats.c
index d2bebb6..a7e0804 100644
--- a/sysdeps/mach/getsysstats.c
+++ b/sysdeps/mach/getsysstats.c
@@ -40,6 +40,7 @@ __get_nprocs_conf ()
return hbi.max_cpus;
}
+weak_alias (__get_nprocs_conf, get_nprocs_conf)
/* Return the number of processors currently available on the system. */
int
@@ -58,6 +59,7 @@ __get_nprocs ()
return hbi.avail_cpus;
}
+weak_alias (__get_nprocs, get_nprocs)
/* Return the number of physical pages on the system. */
long int
@@ -76,6 +78,7 @@ __get_phys_pages ()
return hbi.memory_size / __vm_page_size;
}
+weak_alias (__get_phys_pages, get_phys_pages)
/* Return the number of available physical pages */
long int
@@ -100,3 +103,4 @@ __get_avphys_pages ()
return vs.free_count;
}
+weak_alias (__get_avphys_pages, get_avphys_pages)
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
sysdeps/mach/getsysstats.c | 4 ++++
2 files changed, 9 insertions(+), 0 deletions(-)
hooks/post-receive
--
GNU C Library master sources