about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2010-01-26 17:44:58 -0800
committerRoland McGrath <roland@redhat.com>2010-01-26 17:44:58 -0800
commitb34e12e22c00d74ee549ae9ac304f64d1d6374d5 (patch)
tree6fc95f4db58def4955ee933e33ddabbcf0e4157e /sysdeps
parent1112095740b82eeaea36d2567ea98c6745ef1d13 (diff)
downloadglibc-b34e12e22c00d74ee549ae9ac304f64d1d6374d5.tar.gz
glibc-b34e12e22c00d74ee549ae9ac304f64d1d6374d5.tar.xz
glibc-b34e12e22c00d74ee549ae9ac304f64d1d6374d5.zip
Give Hurd weak aliases for getsysstats get_* functions.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/getsysstats.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/getsysstats.c b/sysdeps/mach/getsysstats.c
index d2bebb621c..a7e0804eb1 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)