]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(getpagesize): Declare as const function.
authorUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:41:05 +0000 (05:41 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 23 Feb 2000 05:41:05 +0000 (05:41 +0000)
posix/unistd.h

index 31ef90e2153367552b124938cda8647ed8a60439..a9f9e417981d3ff99bdd2c554967494018427047 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
+/* Copyright (C) 1991-1999, 2000 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
@@ -809,8 +809,8 @@ extern int sync __P ((void));
 
 /* Return the number of bytes in a page.  This is the system's page size,
    which is not necessarily the same as the hardware page size.  */
-extern int __getpagesize __P ((void));
-extern int getpagesize __P ((void));
+extern int __getpagesize __P ((void)) __attribute__ ((__const__));
+extern int getpagesize __P ((void)) __attribute__ ((__const__));
 
 
 /* Truncate FILE to LENGTH bytes.  */