better attributes.

This commit is contained in:
cgd 1994-10-19 03:44:57 +00:00
parent 86569ff22b
commit 0b201aeb5b
2 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)err.h 8.1 (Berkeley) 6/2/93
* $Id: err.h,v 1.9 1994/05/22 23:14:07 cgd Exp $
* $Id: err.h,v 1.10 1994/10/19 03:44:57 cgd Exp $
*/
#ifndef _ERR_H_
@ -49,13 +49,13 @@
__BEGIN_DECLS
__dead void err __P((int, const char *, ...))
__attribute__((format (printf, 2, 3)));
__attribute__((noreturn, format (printf, 2, 3)));
__dead void verr __P((int, const char *, _BSD_VA_LIST_))
__attribute__((format (printf, 2, 0)));
__attribute__((noreturn, format (printf, 2, 0)));
__dead void errx __P((int, const char *, ...))
__attribute__((format (printf, 2, 3)));
__attribute__((noreturn, format (printf, 2, 3)));
__dead void verrx __P((int, const char *, _BSD_VA_LIST_))
__attribute__((format (printf, 2, 0)));
__attribute__((noreturn, format (printf, 2, 0)));
void warn __P((const char *, ...))
__attribute__((format (printf, 1, 2)));
void vwarn __P((const char *, _BSD_VA_LIST_))

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)unistd.h 5.13 (Berkeley) 6/17/91
* $Id: unistd.h,v 1.20 1994/06/08 11:59:55 mycroft Exp $
* $Id: unistd.h,v 1.21 1994/10/19 03:45:20 cgd Exp $
*/
#ifndef _UNISTD_H_
@ -50,7 +50,7 @@
#endif
__BEGIN_DECLS
__dead void _exit __P((int));
__dead void _exit __P((int)) __attribute__((noreturn));
int access __P((const char *, int));
unsigned alarm __P((unsigned));
int chdir __P((const char *));