diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-30 09:32:23 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-30 09:32:23 +0000 |
commit | b9cc1576e98a737b17e857e8c7ef0a419ebf70da (patch) | |
tree | 06ce0ca026901958e2051c9eb855214a14ba204b | |
parent | cdbfa9f89fa7ccba5f573facbd0a2322e1a6fcb8 (diff) | |
download | glibc-b9cc1576e98a737b17e857e8c7ef0a419ebf70da.tar.gz |
Update.
* misc/sys/syslog.h (vsyslog): Remove __THROW.
* posix/unistd.h: Remove __THROW from getpass prototype.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | misc/sys/syslog.h | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -1,10 +1,12 @@ 2003-08-30 Ulrich Drepper <drepper@redhat.com> + * misc/sys/syslog.h (vsyslog): Remove __THROW. + * misc/Makefile (CFLAGS-getpass.c): Add -fexceptions. * misc/getpass.c (getpass): Add cleanup handler to ensure the stream is closed even if the thread is canceled. (call_fclose): New function. - * posix/unistd.h: Remove __THROW from getpass prorotype. + * posix/unistd.h: Remove __THROW from getpass prototype. * posix/Makefile (CFLAGS-getopt.c): Add -fexceptions. diff --git a/misc/sys/syslog.h b/misc/sys/syslog.h index 8d501cfbd3..ace88a0979 100644 --- a/misc/sys/syslog.h +++ b/misc/sys/syslog.h @@ -198,7 +198,7 @@ extern void syslog (int __pri, __const char *__fmt, ...) or due to the implementation it is a cancellation point and therefore not marked with __THROW. */ extern void vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap) - __THROW __attribute__ ((__format__(__printf__, 2, 0))); + __attribute__ ((__format__(__printf__, 2, 0))); #endif __END_DECLS |