xref: /illumos-gate/usr/src/cmd/ast/libshell/amd64/FEATURE/externs (revision 6446bd46ed1b4e9f69da153665f82181ccaedad5)
1
2/* : : generated by proto : : */
3/* : : generated from contrib/ast/src/cmd/ksh93/features/externs by iffe version 2012-07-17 : : */
4
5#ifndef _def_externs_ksh93
6#if !defined(__PROTO__)
7#  if defined(__STDC__) || defined(__cplusplus) || defined(_proto) || defined(c_plusplus)
8#    if defined(__cplusplus)
9#      define __LINKAGE__	"C"
10#    else
11#      define __LINKAGE__
12#    endif
13#    define __STDARG__
14#    define __PROTO__(x)	x
15#    define __OTORP__(x)
16#    define __PARAM__(n,o)	n
17#    if !defined(__STDC__) && !defined(__cplusplus)
18#      if !defined(c_plusplus)
19#      	define const
20#      endif
21#      define signed
22#      define void		int
23#      define volatile
24#      define __V_		char
25#    else
26#      define __V_		void
27#    endif
28#  else
29#    define __PROTO__(x)	()
30#    define __OTORP__(x)	x
31#    define __PARAM__(n,o)	o
32#    define __LINKAGE__
33#    define __V_		char
34#    define const
35#    define signed
36#    define void		int
37#    define volatile
38#  endif
39#  define __MANGLE__	__LINKAGE__
40#  if defined(__cplusplus) || defined(c_plusplus)
41#    define __VARARG__	...
42#  else
43#    define __VARARG__
44#  endif
45#  if defined(__STDARG__)
46#    define __VA_START__(p,a)	va_start(p,a)
47#  else
48#    define __VA_START__(p,a)	va_start(p)
49#  endif
50#  if !defined(__INLINE__)
51#    if defined(__cplusplus)
52#      define __INLINE__	extern __MANGLE__ inline
53#    else
54#      if defined(_WIN32) && !defined(__GNUC__)
55#      	define __INLINE__	__inline
56#      endif
57#    endif
58#  endif
59#endif
60#if !defined(__LINKAGE__)
61#define __LINKAGE__		/* 2004-08-11 transition */
62#endif
63
64#define _def_externs_ksh93	1
65#define _sys_types	1	/* #include <sys/types.h> ok */
66#define _hdr_exec_attr	1	/* #include <exec_attr.h> ok */
67#define _hdr_math	1	/* #include <math.h> ok */
68#define _mem_name_exception	1	/* name is a member of struct exception */
69#define _lib_setreuid	1	/* setreuid() in default lib(s) */
70#define _lib_setregid	1	/* setregid() in default lib(s) */
71#define _lib_nice	1	/* nice() in default lib(s) */
72#define _lib_fork	1	/* fork() in default lib(s) */
73#define _lib_spawnveg	1	/* spawnveg() in default lib(s) */
74#define _lib_fchdir	1	/* fchdir() in default lib(s) */
75#define _sys_mman	1	/* #include <sys/mman.h> ok */
76#define _lib_memcntl	1	/* memcntl() in default lib(s) */
77#define _LIB_secdb	1	/* -lsecdb is a library */
78#define _lib_getexecuser	1	/* getexecuser() in default lib(s) */
79#define _lib_free_execattr	1	/* free_execattr() in default lib(s) */
80#endif
81