--- Gnu-Mach/kern/xpr.h 2020/09/02 04:42:48 1.1.1.2 +++ Gnu-Mach/kern/xpr.h 2020/09/02 04:47:37 1.1.1.4 @@ -34,7 +34,7 @@ * which will expand into the following code: * if (xprflags & XPR_SYSCALLS) * xpr("syscall: %d, 0x%x\n", syscallno, arg1); - * Xpr will log the pointer to the printf string and up to 6 arguements, + * Xpr will log the pointer to the printf string and up to 6 arguments, * along with a timestamp and cpuinfo (for multi-processor systems), into * a circular buffer. The actual printf processing is delayed until after * the buffer has been collected. It is assumed that the text/data segments @@ -48,9 +48,7 @@ #ifndef _KERN_XPR_H_ #define _KERN_XPR_H_ -#ifdef KERNEL -#include -#else /* KERNEL */ +#ifndef KERNEL #include #endif /* KERNEL */ @@ -91,11 +89,9 @@ struct xprbuf { int cpuinfo; }; -#ifndef WANT_PROTOTYPES -extern void xpr(); -#endif -extern void xpr_dump(); -extern void xprinit(); -extern void xprbootstrap(); +extern void xpr(char *, int, int, int, int, int); +extern void xpr_dump(struct xprbuf *, int); +extern void xprinit(void); +extern void xprbootstrap(void); #endif /* _KERN_XPR_H_ */