From 8b20504fa85518c65522576e97d8cb2a2fb62852 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 24 Feb 1998 02:01:11 +0000 Subject: [PATCH] Forward declare more structs that are used in prototypes here - don't depend on forward declaring common ones. --- sys/sys/signalvar.h | 4 +++- sys/sys/systm.h | 9 ++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/sys/sys/signalvar.h b/sys/sys/signalvar.h index eba4bdc2656b..54e68a98356d 100644 --- a/sys/sys/signalvar.h +++ b/sys/sys/signalvar.h @@ -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: */ diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 469725cc8331..60c4c25de0a6 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -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));