summaryrefslogtreecommitdiff
path: root/shortnames/defines.c
diff options
context:
space:
mode:
Diffstat (limited to 'shortnames/defines.c')
-rw-r--r--shortnames/defines.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/shortnames/defines.c b/shortnames/defines.c
new file mode 100644
index 00000000000..ba8ab5437dd
--- /dev/null
+++ b/shortnames/defines.c
@@ -0,0 +1,14 @@
+#include <stdio.h>
+
+int count;
+
+main ()
+{
+ char buffer[512];
+
+ while (gets (buffer))
+ {
+ printf ("#define %s zz%4.4dzz\n", buffer, count++);
+ }
+ return (0);
+}