diff options
author | swallace <swallace@FreeBSD.org> | 1995-10-08 00:06:22 +0000 |
---|---|---|
committer | swallace <swallace@FreeBSD.org> | 1995-10-08 00:06:22 +0000 |
commit | f89a2d225944046c5c8362675c54642d17b2ab38 (patch) | |
tree | 4cf803467b46c0d8d5eab52d09bfcb9eee010898 /sys/kern/imgact_shell.c | |
parent | 7c4cb4e36b6ca49b9c0ecf7eee5f82866e8c0d3e (diff) | |
download | FreeBSD-src-f89a2d225944046c5c8362675c54642d17b2ab38.zip FreeBSD-src-f89a2d225944046c5c8362675c54642d17b2ab38.tar.gz |
Remove prototype definitions from <sys/systm.h>.
Prototypes are located in <sys/sysproto.h>.
Add appropriate #include <sys/sysproto.h> to files that needed
protos from systm.h.
Add structure definitions to appropriate files that relied on sys/systm.h,
right before system call definition, as in the rest of the kernel source.
In kern_prot.c, instead of using the dummy structure "args", create
individual dummy structures named <syscall>_args. This makes
life easier for prototype generation.
Diffstat (limited to 'sys/kern/imgact_shell.c')
-rw-r--r-- | sys/kern/imgact_shell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c index 988cc3b..e1f4ba0 100644 --- a/sys/kern/imgact_shell.c +++ b/sys/kern/imgact_shell.c @@ -28,11 +28,12 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: imgact_shell.c,v 1.6 1994/09/25 19:33:32 phk Exp $ + * $Id: imgact_shell.c,v 1.7 1995/09/08 13:24:33 davidg Exp $ */ #include <sys/param.h> #include <sys/systm.h> +#include <sys/sysproto.h> #include <sys/resourcevar.h> #include <sys/exec.h> #include <sys/imgact.h> |