Convert estrto{l, ul} to estrtonum

Enough with this insanity!
This commit is contained in:
FRIGN
2015-01-30 16:52:44 +01:00
parent 8c359daee3
commit fd562481f3
19 changed files with 30 additions and 81 deletions

2
arg.h
View File

@@ -46,7 +46,7 @@ extern char *argv0;
#define ARGC() argc_
#define ARGNUMF(base) (brk_ = 1, estrtol(argv[0], (base)))
#define ARGNUMF(base) (brk_ = 1, estrtonum(argv[0], 0, INT_MAX))
#define EARGF(x) ((argv[0][1] == '\0' && argv[1] == NULL)?\
((x), abort(), (char *)0) :\