Forward declare more structs that are used in prototypes here - don't

depend on <sys/types.h> forward declaring common ones.
This commit is contained in:
Bruce Evans 1998-02-24 02:01:11 +00:00
parent 7eaa685e41
commit 8b20504fa8
2 changed files with 9 additions and 4 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)signalvar.h 8.6 (Berkeley) 2/19/95
* $Id: signalvar.h,v 1.15 1997/02/22 09:45:54 peter Exp $
* $Id: signalvar.h,v 1.16 1997/08/30 11:24:05 peter Exp $
*/
#ifndef _SYS_SIGNALVAR_H_ /* tmp for user.h */
@ -148,6 +148,8 @@ static int sigprop[NSIG + 1] = {
#define sigcantmask (sigmask(SIGKILL) | sigmask(SIGSTOP))
#ifdef KERNEL
struct pgrp;
/*
* Machine-independent functions:
*/

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)systm.h 8.7 (Berkeley) 3/29/95
* $Id: systm.h,v 1.68 1998/01/14 20:48:01 phk Exp $
* $Id: systm.h,v 1.69 1998/01/21 18:28:49 gibbs Exp $
*/
#ifndef _SYS_SYSTM_H_
@ -78,7 +78,12 @@ extern int bootverbose; /* nonzero to print verbose messages */
* General function declarations.
*/
struct clockframe;
struct malloc_type;
struct proc;
struct timeval;
struct tty;
struct uio;
void Debugger __P((const char *msg));
int nullop __P((void));
@ -126,11 +131,9 @@ int suword __P((void *base, int word));
int fusword __P((void *base));
int susword __P((void *base, int word));
struct timeval;
int hzto __P((struct timeval *tv));
void realitexpire __P((void *));
struct clockframe;
void hardclock __P((struct clockframe *frame));
void softclock __P((void));
void statclock __P((struct clockframe *frame));