add directory gnu
This commit is contained in:
11
gnu/glibc/glibc-1.03/munch.awk
Normal file
11
gnu/glibc/glibc-1.03/munch.awk
Normal file
@@ -0,0 +1,11 @@
|
||||
BEGIN { special = 0 }
|
||||
|
||||
/EXTERNS/ { ndirs = split(subdirs, dirs)
|
||||
for (i = 1; i <= ndirs; ++i)
|
||||
printf "extern void EXFUN(__init_%s, (int argc, char **argv, char **envp));\n", dirs[i]
|
||||
special = 1 }
|
||||
/CALLS/ { ndirs = split(subdirs, dirs)
|
||||
for (i = 1; i <= ndirs; ++i) printf " __init_%s (argc, argv, envp);\n", dirs[i]
|
||||
special = 1 }
|
||||
|
||||
{ if (special == 0) print $0; special = 0 }
|
||||
Reference in New Issue
Block a user