arg.h: remove unused macros ARGUM isn't used and ARGNUMF uses estrtol() that isn't defined anywhere. Those were probably copied from sbase arg.h. Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau quinq+hackers@fifth.space
1 files changed,
0 insertions(+),
15 deletions(-)
jump to
M
arg.h
→
arg.h
@@ -28,25 +28,10 @@ if (argv_ != argv)\
break;\ 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) :\