Commit | Line | Data |
---|---|---|
3966563d KB |
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) %G% | |
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 |