diff options
author | Hiltjo Posthuma | 2015-11-08 23:37:47 +0100 |
---|---|---|
committer | Hiltjo Posthuma | 2015-11-08 23:37:47 +0100 |
commit | 32f2564dbbbf5aeafb7190a3d35066142f34448f (patch) | |
tree | 534758ed1ec49de1488f4e96943a343540258e7e | |
parent | cc596365ac9c522beb8978cfca741d23d3bf83ae (diff) |
arg.h: remove unused ARGNUM* macros
-rw-r--r-- | arg.h | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -29,25 +29,11 @@ extern char *argv0; argc_ = argv[0][0];\ switch (argc_) -/* Handles obsolete -NUM syntax */ -#define ARGNUM case '0':\ - case '1':\ - case '2':\ - case '3':\ - case '4':\ - case '5':\ - case '6':\ - case '7':\ - case '8':\ - case '9' - #define ARGEND }\ } #define ARGC() argc_ -#define ARGNUMF(base) (brk_ = 1, estrtol(argv[0], (base))) - #define EARGF(x) ((argv[0][1] == '\0' && argv[1] == NULL)?\ ((x), abort(), (char *)0) :\ (brk_ = 1, (argv[0][1] != '\0')?\ |