Commit | Line | Data |
---|---|---|
0fc6e47b KB |
1 | /*- |
2 | * Copyright (c) 1980 The Regents of the University of California. | |
3 | * All rights reserved. | |
4 | * | |
5 | * %sccs.include.redist.c% | |
bbe93629 | 6 | */ |
4c0c106d | 7 | |
72fbef68 | 8 | #ifndef lint |
bbe93629 | 9 | char copyright[] = |
0fc6e47b | 10 | "@(#) Copyright (c) 1980 The Regents of the University of California.\n\ |
bbe93629 | 11 | All rights reserved.\n"; |
0fc6e47b KB |
12 | #endif /* not lint */ |
13 | ||
14 | #ifndef lint | |
15 | static char sccsid[] = "@(#)opc.c 5.2 (Berkeley) %G%"; | |
16 | #endif /* not lint */ | |
4c0c106d PK |
17 | |
18 | #include "OPnames.h" | |
19 | ||
20 | main() { | |
21 | register int i; | |
22 | ||
23 | for (i = 0; i < 256; i++) | |
24 | if (otext[i]) | |
25 | printf("#define O_%s %04o\n", otext[i]+1, i); | |
26 | exit(0); | |
27 | } |