summaryrefslogtreecommitdiffstats
path: root/include/err.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-11-17 03:10:29 +0000
commit164a928b77f596b6617a4bbf43a2c06bc35a5602 (patch)
tree8d1f20c152e2eec919c58e3259a20cc038b5d7c4 /include/err.h
parent8c325ee38bf779dc5d51e41281d3b8230c3af971 (diff)
downloaduClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.bz2
uClibc-alpine-164a928b77f596b6617a4bbf43a2c06bc35a5602.tar.xz
Merge from trunk.
Diffstat (limited to 'include/err.h')
-rw-r--r--include/err.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/err.h b/include/err.h
index 9791a659c..7ff3553ab 100644
--- a/include/err.h
+++ b/include/err.h
@@ -1,5 +1,5 @@
/* 4.4BSD utility functions for error messages.
- Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1995,1996,1997,1998,1999,2003 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
@@ -33,25 +33,25 @@ __BEGIN_DECLS
/* Print "program: ", FORMAT, ": ", the standard error string for errno,
and a newline, on stderr. */
extern void warn (__const char *__format, ...)
- __THROW __attribute__ ((__format__ (__printf__, 1, 2)));
+ __attribute__ ((__format__ (__printf__, 1, 2)));
extern void vwarn (__const char *__format, __gnuc_va_list)
- __THROW __attribute__ ((__format__ (__printf__, 1, 0)));
+ __attribute__ ((__format__ (__printf__, 1, 0)));
/* Likewise, but without ": " and the standard error string. */
extern void warnx (__const char *__format, ...)
- __THROW __attribute__ ((__format__ (__printf__, 1, 2)));
+ __attribute__ ((__format__ (__printf__, 1, 2)));
extern void vwarnx (__const char *__format, __gnuc_va_list)
- __THROW __attribute__ ((__format__ (__printf__, 1, 0)));
+ __attribute__ ((__format__ (__printf__, 1, 0)));
/* Likewise, and then exit with STATUS. */
extern void err (int __status, __const char *__format, ...)
- __THROW __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
extern void verr (int __status, __const char *__format, __gnuc_va_list)
- __THROW __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
extern void errx (int __status, __const char *__format, ...)
- __THROW __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 3)));
extern void verrx (int __status, __const char *, __gnuc_va_list)
- __THROW __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
+ __attribute__ ((__noreturn__, __format__ (__printf__, 2, 0)));
__END_DECLS