Prototype log(), logpri(), and addlog(), in an appropriate place.
This commit is contained in:
parent
89b3d99770
commit
2bb670aef5
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)syslog.h 7.20 (Berkeley) 2/23/91
|
||||
* $Id: syslog.h,v 1.3 1993/05/20 16:23:17 cgd Exp $
|
||||
* $Id: syslog.h,v 1.4 1994/05/12 10:30:42 mycroft Exp $
|
||||
*/
|
||||
|
||||
#ifndef _SYS_SYSLOG_H_
|
||||
@ -179,6 +179,12 @@ void syslog __P((int, const char *, ...));
|
||||
void vsyslog __P((int, const char *, va_list));
|
||||
__END_DECLS
|
||||
|
||||
#else /* !KERNEL */
|
||||
|
||||
void logpri __P((int);
|
||||
void log __P((int, const char *, ...));
|
||||
void addlog __P((const char *, ...));
|
||||
|
||||
#endif /* !KERNEL */
|
||||
|
||||
#endif /* !_SYS_SYSLOG_H_ */
|
||||
|
@ -36,7 +36,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)systm.h 8.4 (Berkeley) 2/23/94
|
||||
* $Id: systm.h,v 1.27 1994/05/05 05:40:20 cgd Exp $
|
||||
* $Id: systm.h,v 1.28 1994/05/12 10:30:46 mycroft Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -124,8 +124,6 @@ volatile void panic __P((const char *, ...));
|
||||
void panic __P((const char *, ...));
|
||||
#endif
|
||||
void tablefull __P((const char *));
|
||||
void addlog __P((const char *, ...));
|
||||
void log __P((int, const char *, ...));
|
||||
void printf __P((const char *, ...));
|
||||
int sprintf __P((char *buf, const char *, ...));
|
||||
void ttyprintf __P((struct tty *, const char *, ...));
|
||||
|
Loading…
Reference in New Issue
Block a user