diff options
author | Andreas Jaeger <aj@suse.de> | 2000-03-02 08:38:28 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2000-03-02 08:38:28 +0000 |
commit | 16f282b838d309b0fe1f03032c069b232ebb4218 (patch) | |
tree | 4136b40592a7523782863ce1de405d7e273dfb6f | |
parent | a0db84071640f9ad108ba35dc3c751ab8faf506c (diff) | |
download | glibc-16f282b838d309b0fe1f03032c069b232ebb4218.tar.gz glibc-16f282b838d309b0fe1f03032c069b232ebb4218.tar.xz glibc-16f282b838d309b0fe1f03032c069b232ebb4218.zip |
__THROW has to precede __attribute__, otherwise g++ cannot parse this.
-rw-r--r-- | posix/unistd.h | 4 |
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. */ |