]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* sysdeps/mach/getsysstats.c (__get_phys_pages): Change return value to long int...
authorMark Kettenis <kettenis@gnu.org>
Sun, 18 Feb 2001 10:38:14 +0000 (10:38 +0000)
committerMark Kettenis <kettenis@gnu.org>
Sun, 18 Feb 2001 10:38:14 +0000 (10:38 +0000)
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.

ChangeLog
sysdeps/mach/getsysstats.c

index 69474405efd008a9d9610768af7f18354b0566f5..9101dc6ab3238271de375003da6fed7fe0729c2f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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.
+
 2001-02-18  Ulrich Drepper  <drepper@redhat.com>
 
        * math/libm-test.inc (pow_test): Correct expected results for x == +-1.
index 235c316ef8d2b6493742b0022c4a30bee630b9a6..b36e44ed8bfe7e663702326718fa8d83be9de6ba 100644 (file)
@@ -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;