xref: /original-bsd/bin/sh/main.h (revision bdac0c45)
1 /*-
2  * Copyright (c) 1991, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Kenneth Almquist.
7  *
8  * %sccs.include.redist.c%
9  *
10  *	@(#)main.h	8.1 (Berkeley) 05/31/93
11  */
12 
13 extern int rootpid;	/* pid of main shell */
14 extern int rootshell;	/* true if we aren't a child of the main shell */
15 
16 #ifdef __STDC__
17 void readcmdfile(char *);
18 void cmdloop(int);
19 #else
20 void readcmdfile();
21 void cmdloop();
22 #endif
23