Change printf attributes to __kprintf__ attributes
This commit is contained in:
parent
c119793167
commit
ccf759ccff
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: syslog.h,v 1.11 1996/03/16 23:12:12 christos Exp $ */
|
||||
/* $NetBSD: syslog.h,v 1.12 1996/03/31 21:37:15 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1988, 1993
|
||||
@ -183,7 +183,7 @@ void closelog __P((void));
|
||||
void openlog __P((const char *, int, int));
|
||||
int setlogmask __P((int));
|
||||
void syslog __P((int, const char *, ...))
|
||||
__attribute__((__format__(printf,2,3)));
|
||||
__attribute__((__format__(__kprintf__,2,3)));
|
||||
void vsyslog __P((int, const char *, _BSD_VA_LIST_));
|
||||
__END_DECLS
|
||||
|
||||
@ -191,9 +191,9 @@ __END_DECLS
|
||||
|
||||
void logpri __P((int));
|
||||
void log __P((int, const char *, ...))
|
||||
__attribute__((__format__(printf,2,3)));
|
||||
__attribute__((__format__(__kprintf__,2,3)));
|
||||
void addlog __P((const char *, ...))
|
||||
__attribute__((__format__(printf,1,2)));
|
||||
__attribute__((__format__(__kprintf__,1,2)));
|
||||
void logwakeup __P((void));
|
||||
|
||||
#endif /* !_KERNEL */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tprintf.h,v 1.7 1996/03/16 23:12:15 christos Exp $ */
|
||||
/* $NetBSD: tprintf.h,v 1.8 1996/03/31 21:37:16 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1990, 1993
|
||||
@ -41,5 +41,5 @@ tpr_t tprintf_open __P((struct proc *));
|
||||
void tprintf_close __P((tpr_t));
|
||||
|
||||
void tprintf __P((tpr_t, const char *fmt, ...))
|
||||
__attribute__((__format__(printf,2,3)));
|
||||
__attribute__((__format__(__kprintf__,2,3)));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user