1 # generate prototypes for Samba C code
6 print "/* This file is automatically generated with \"make proto\". DO NOT EDIT */"
12 if (match($
0,"[)][ \t]*$")) {
24 printf "BOOL %s(int );\n", a
[2]
29 printf "char *%s(int );\n", a
[2]
34 printf "int %s(int );\n", a
[2]
39 printf "char %s(int );\n", a
[2]
44 printf "BOOL %s(void);\n", a
[2]
49 printf "char *%s(void);\n", a
[2]
54 printf "int %s(void);\n", a
[2]
57 /^static
|^extern
/ || !
/^
[a
-zA
-Z
]/ || /[;]/ {
61 !
/^OFF_T
|^size_t
|^off_t
|^pid_t
|^unsigned
|^mode_t
|^DIR
|^user
|^int
|^char
|^uint
|^uchar
|^short
|^struct
|^BOOL
|^void
|^time
|^const
/ {