Updated to fedora-glibc-20041124T0741
[glibc.git] / sysdeps / unix / ioctls.awk
blobb05140af7af5ca07e6cbbd0dee307ae96a0e5429
1 BEGIN { special = 0 }
3 /REQUESTS/ { nreqs = split(requests, reqs)
4 for (i = 1; i <= nreqs; ++i)
5 printf "#ifdef\t%s\n DEFINE(\"%s\", %s);\n#endif\n", \
6 reqs[i], reqs[i], reqs[i]
7 special = 1 }
10 { if (special == 0) print $0; special = 0 }