aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-03-02 08:38:28 +0000
committerAndreas Jaeger <aj@suse.de>2000-03-02 08:38:28 +0000
commit16f282b838d309b0fe1f03032c069b232ebb4218 (patch)
tree4136b40592a7523782863ce1de405d7e273dfb6f /posix
parenta0db84071640f9ad108ba35dc3c751ab8faf506c (diff)
downloadglibc-16f282b838d309b0fe1f03032c069b232ebb4218.tar
glibc-16f282b838d309b0fe1f03032c069b232ebb4218.tar.gz
glibc-16f282b838d309b0fe1f03032c069b232ebb4218.tar.bz2
glibc-16f282b838d309b0fe1f03032c069b232ebb4218.zip
__THROW has to precede __attribute__, otherwise g++ cannot parse this.
Diffstat (limited to 'posix')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index e9697c7592..3b75286d9e 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -814,8 +814,8 @@ extern int sync (void) __THROW;
/* 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 (void) __attribute__ ((__const__)) __THROW;
-extern int getpagesize (void) __attribute__ ((__const__)) __THROW;
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+extern int getpagesize (void) __THROW __attribute__ ((__const__));
/* Truncate FILE to LENGTH bytes. */