shell.h (17988) | shell.h (19281) |
---|---|
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 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)shell.h 8.2 (Berkeley) 5/4/95 | 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 * Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34 * SUCH DAMAGE. 35 * 36 * @(#)shell.h 8.2 (Berkeley) 5/4/95 |
37 * $Id: shell.h,v 1.4 1996/09/01 10:21:41 peter Exp $ | 37 * $Id: shell.h,v 1.5 1996/09/01 10:27:44 peter Exp $ |
38 */ 39 40/* 41 * The follow should be set to reflect the type of system you have: 42 * JOBS -> 1 if you have Berkeley job control, 0 otherwise. 43 * SYMLINKS -> 1 if your system includes symbolic links, 0 otherwise. 44 * SHORTNAMES -> 1 if your linker cannot handle long names. 45 * define BSD if you are running 4.2 BSD or later. --- 19 unchanged lines hidden (view full) --- 65#define NULL (void *)0 66#endif 67#else /* not __STDC__ */ 68typedef char *pointer; 69#ifndef NULL 70#define NULL 0 71#endif 72#endif /* not __STDC__ */ | 38 */ 39 40/* 41 * The follow should be set to reflect the type of system you have: 42 * JOBS -> 1 if you have Berkeley job control, 0 otherwise. 43 * SYMLINKS -> 1 if your system includes symbolic links, 0 otherwise. 44 * SHORTNAMES -> 1 if your linker cannot handle long names. 45 * define BSD if you are running 4.2 BSD or later. --- 19 unchanged lines hidden (view full) --- 65#define NULL (void *)0 66#endif 67#else /* not __STDC__ */ 68typedef char *pointer; 69#ifndef NULL 70#define NULL 0 71#endif 72#endif /* not __STDC__ */ |
73#define STATIC /* empty */ | 73#define STATIC static |
74#define MKINIT /* empty */ 75 76#include <sys/cdefs.h> 77 78extern char nullstr[1]; /* null string */ 79 80 81#ifdef DEBUG 82#define TRACE(param) shtrace param 83#else 84#define TRACE(param) 85#endif | 74#define MKINIT /* empty */ 75 76#include <sys/cdefs.h> 77 78extern char nullstr[1]; /* null string */ 79 80 81#ifdef DEBUG 82#define TRACE(param) shtrace param 83#else 84#define TRACE(param) 85#endif |