__Namespace__ __protection__.

This commit is contained in:
mycroft 1998-07-30 00:44:15 +00:00
parent 813b2f15cf
commit f886615650
4 changed files with 19 additions and 19 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: err.h,v 1.11 1994/10/26 00:55:52 cgd Exp $ */
/* $NetBSD: err.h,v 1.12 1998/07/30 00:44:15 mycroft Exp $ */
/*-
* Copyright (c) 1993
@ -50,21 +50,21 @@
__BEGIN_DECLS
__dead void err __P((int, const char *, ...))
__attribute__((noreturn, format (printf, 2, 3)));
__attribute__((__noreturn__, __format__(__printf__, 2, 3)));
__dead void verr __P((int, const char *, _BSD_VA_LIST_))
__attribute__((noreturn, format (printf, 2, 0)));
__attribute__((__noreturn__, __format__(__printf__, 2, 0)));
__dead void errx __P((int, const char *, ...))
__attribute__((noreturn, format (printf, 2, 3)));
__attribute__((__noreturn__, __format__(__printf__, 2, 3)));
__dead void verrx __P((int, const char *, _BSD_VA_LIST_))
__attribute__((noreturn, format (printf, 2, 0)));
__attribute__((__noreturn__, __format__(__printf__, 2, 0)));
void warn __P((const char *, ...))
__attribute__((format (printf, 1, 2)));
__attribute__((__format__(__printf__, 1, 2)));
void vwarn __P((const char *, _BSD_VA_LIST_))
__attribute__((format (printf, 1, 0)));
__attribute__((__format__(__printf__, 1, 0)));
void warnx __P((const char *, ...))
__attribute__((format (printf, 1, 2)));
__attribute__((__format__(__printf__, 1, 2)));
void vwarnx __P((const char *, _BSD_VA_LIST_))
__attribute__((format (printf, 1, 0)));
__attribute__((__format__(__printf__, 1, 0)));
__END_DECLS
#endif /* !_ERR_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdio.h,v 1.25 1998/07/27 13:35:00 mycroft Exp $ */
/* $NetBSD: stdio.h,v 1.26 1998/07/30 00:44:16 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -311,9 +311,9 @@ __BEGIN_DECLS
int getw __P((FILE *));
int putw __P((int, FILE *));
int snprintf __P((char *, size_t, const char *, ...))
__attribute__((format (printf, 3, 4)));
__attribute__((__format__(__printf__, 3, 4)));
int vsnprintf __P((char *, size_t, const char *, _BSD_VA_LIST_))
__attribute__((format (printf, 3, 0)));
__attribute__((__format__(__printf__, 3, 0)));
#ifndef __AUDIT__
char *tempnam __P((const char *, const char *));
@ -332,9 +332,9 @@ int fpurge __P((FILE *));
void setbuffer __P((FILE *, char *, int));
int setlinebuf __P((FILE *));
int vscanf __P((const char *, _BSD_VA_LIST_))
__attribute__((format (scanf, 1, 0)));
__attribute__((__format__(__scanf__, 1, 0)));
int vsscanf __P((const char *, const char *, _BSD_VA_LIST_))
__attribute__((format (scanf, 2, 0)));
__attribute__((__format__(__scanf__, 2, 0)));
__END_DECLS
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdlib.h,v 1.40 1998/07/28 00:28:29 mycroft Exp $ */
/* $NetBSD: stdlib.h,v 1.41 1998/07/30 00:44:16 mycroft Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -94,7 +94,7 @@ extern int __mb_cur_max;
#endif
__BEGIN_DECLS
__dead void abort __P((void)) __attribute__((noreturn));
__dead void abort __P((void)) __attribute__((__noreturn__));
__pure int abs __P((int));
int atexit __P((void (*)(void)));
double atof __P((const char *));
@ -104,7 +104,7 @@ void *bsearch __P((const void *, const void *, size_t,
size_t, int (*)(const void *, const void *)));
void *calloc __P((size_t, size_t));
div_t div __P((int, int));
__dead void exit __P((int)) __attribute__((noreturn));
__dead void exit __P((int)) __attribute__((__noreturn__));
void free __P((void *));
__aconst char *getenv __P((const char *));
__pure long

View File

@ -1,4 +1,4 @@
/* $NetBSD: unistd.h,v 1.65 1998/07/28 00:28:29 mycroft Exp $ */
/* $NetBSD: unistd.h,v 1.66 1998/07/30 00:44:16 mycroft Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -92,7 +92,7 @@
#endif
__BEGIN_DECLS
__dead void _exit __P((int)) __attribute__((noreturn));
__dead void _exit __P((int)) __attribute__((__noreturn__));
int access __P((const char *, int));
unsigned int alarm __P((unsigned int));
int chdir __P((const char *));