summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau2015-11-08 17:14:58 +0100
committerChristoph Lohmann2015-11-08 20:33:56 +0100
commitd836561b96097b04760104e7e0f8d014f5889a18 (patch)
treeecaefac6e84447192416242df89f1ae5d249349e
parent00873e65eed161ee5f8916fbfb25c1a7f7a9b2f8 (diff)
downloadst-d836561b96097b04760104e7e0f8d014f5889a18.tar.gz
st-d836561b96097b04760104e7e0f8d014f5889a18.tar.xz
st-d836561b96097b04760104e7e0f8d014f5889a18.zip
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>
-rw-r--r--arg.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/arg.h b/arg.h
index 4df77a7..a94e6b5 100644
--- a/arg.h
+++ b/arg.h
@@ -28,26 +28,11 @@ extern char *argv0;
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) :\
(brk_ = 1, (argv[0][1] != '\0')?\