xref: /original-bsd/bin/sh/main.h (revision 95a66346)
1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * 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	5.1 (Berkeley) 03/07/91
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