8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libshell / common / sh / defs.c
blob69895c6778b4e41d585371e63b51275103569c9c
1 /***********************************************************************
2 * *
3 * This software is part of the ast package *
4 * Copyright (c) 1982-2010 AT&T Intellectual Property *
5 * and is licensed under the *
6 * Common Public License, Version 1.0 *
7 * by AT&T Intellectual Property *
8 * *
9 * A copy of the License is available at *
10 * http://www.opensource.org/licenses/cpl1.0.txt *
11 * (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
12 * *
13 * Information and Software Systems Research *
14 * AT&T Research *
15 * Florham Park NJ *
16 * *
17 * David Korn <dgk@research.att.com> *
18 * *
19 ***********************************************************************/
21 * Ksh - AT&T Labs
22 * Written by David Korn
23 * This file defines all the read/write shell global variables
26 #include "defs.h"
27 #include "jobs.h"
28 #include "shlex.h"
29 #include "edit.h"
30 #include "timeout.h"
32 Shell_t sh = {0};
33 #ifdef __IMPORT__
34 Shell_t *_imp__sh = &sh;
35 #endif
37 Dtdisc_t _Nvdisc =
39 offsetof(Namval_t,nvname), -1 , 0, 0, 0, nv_compare
42 /* reserve room for writable state table */
43 char *sh_lexstates[ST_NONE] = {0};
45 struct jobs job = {0};
46 int32_t sh_mailchk = 600;