about summary refs log tree commit diff
path: root/sysdeps/unix/errnos.awk
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/errnos.awk')
-rw-r--r--sysdeps/unix/errnos.awk12
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/unix/errnos.awk b/sysdeps/unix/errnos.awk
deleted file mode 100644
index 8648f41fb2..0000000000
--- a/sysdeps/unix/errnos.awk
+++ /dev/null
@@ -1,12 +0,0 @@
-BEGIN { special = 0 }
-
-/ERRNOS/ { nerrnos = split(errnos, errs)
-	     for (i = 1; i <= nerrnos; ++i)
-	       # Some systems define errno codes inside undefined #ifdefs,
-	       # and then never actually use them.
-	       printf "#ifdef %s\n  DO(\"%s\", %s);\n#endif\n", \
-		 errs[i], errs[i], errs[i]
-	     special = 1 }
-
-
-{ if (special == 0) print $0; special = 0 }