about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2001-02-18 10:38:14 +0000
committerMark Kettenis <kettenis@gnu.org>2001-02-18 10:38:14 +0000
commitc967ec3efdcdabf47524481dae084c847afae56e (patch)
treecfb150a5db199f1d92ea1b73ced16fe335eaeef5 /sysdeps
parent6571c5709af6e58e3b9a571fc6289be375a1ffe3 (diff)
downloadglibc-c967ec3efdcdabf47524481dae084c847afae56e.tar.gz
glibc-c967ec3efdcdabf47524481dae084c847afae56e.tar.xz
glibc-c967ec3efdcdabf47524481dae084c847afae56e.zip
* sysdeps/mach/getsysstats.c (__get_phys_pages): Change return value to long int. (__get_avphys_pages): Likewise.
2001-02-18  Mark Kettenis  <kettenis@gnu.org>

	* sysdeps/mach/getsysstats.c (__get_phys_pages): Change return
	value to long int.
	(__get_avphys_pages): Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/getsysstats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mach/getsysstats.c b/sysdeps/mach/getsysstats.c
index 235c316ef8..b36e44ed8b 100644
--- a/sysdeps/mach/getsysstats.c
+++ b/sysdeps/mach/getsysstats.c
@@ -1,5 +1,5 @@
 /* System dependent pieces of sysconf; Mach version
-   Copyright (C) 1996, 97, 99 Free Software Foundation, Inc.
+   Copyright (C) 1996, 97, 99, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -60,7 +60,7 @@ __get_nprocs ()
 }
 
 /* Return the number of physical pages on the system. */
-int
+long int
 __get_phys_pages ()
 {
   struct host_basic_info hbi;
@@ -78,7 +78,7 @@ __get_phys_pages ()
 }
 
 /* Return the number of available physical pages */
-int
+long int
 __get_avphys_pages ()
 {
   vm_statistics_data_t vs;