about summary refs log tree commit diff
path: root/sysdeps/generic/getsysstats.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-11 19:15:00 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-11 19:15:00 +0000
commite4cf522929cc33ea951756509b0e4f166f0da59a (patch)
treee072b02cf33d98bde5e8e82a9ddfa4316b299020 /sysdeps/generic/getsysstats.c
parent5b8d5ae180f8e9d899a28c96bae77f1e8ef29cf8 (diff)
downloadglibc-e4cf522929cc33ea951756509b0e4f166f0da59a.tar.gz
glibc-e4cf522929cc33ea951756509b0e4f166f0da59a.tar.xz
glibc-e4cf522929cc33ea951756509b0e4f166f0da59a.zip
Update.
	* sysdeps/generic/getsysstat.c: Change return value of get_phys_pages
	and get_avphys_page to long int.
	* sysdeps/unix/sysv/linux/getsysstat.c: Likewise.
	* include/sys/sysinfo.h: Likewise.
	* sysdeps/generic/sys/sysinfo.h: Likewise.
	* sysdeps/unix/sysv/linux/sys/sysinfo.h: Likewise.
Diffstat (limited to 'sysdeps/generic/getsysstats.c')
-rw-r--r--sysdeps/generic/getsysstats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/generic/getsysstats.c b/sysdeps/generic/getsysstats.c
index d43a86ae5a..bc517b7a75 100644
--- a/sysdeps/generic/getsysstats.c
+++ b/sysdeps/generic/getsysstats.c
@@ -1,5 +1,5 @@
 /* getsysstats - Determine various system internal values, stub version.
-   Copyright (C) 1996, 1997 Free Software Foundation, Inc.
+   Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -44,7 +44,7 @@ weak_alias (__get_nprocs, get_nprocs)
 link_warning (get_nprocs, "warning: get_nprocs will always return 1")
 
 
-int
+long int
 __get_phys_pages ()
 {
   /* We have no general way to determine this value.  */
@@ -56,7 +56,7 @@ weak_alias (__get_phys_pages, get_phys_pages)
 stub_warning (get_phys_pages)
 
 
-int
+long int
 __get_avphys_pages ()
 {
   /* We have no general way to determine this value.  */