[hackers] [dmenu] arg.h: remove unused ARGNUM* macros || Hiltjo Posthuma
commit 32f2564dbbbf5aeafb7190a3d35066142f34448f
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Sun Nov 8 23:37:47 2015 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sun Nov 8 23:37:47 2015 +0100
arg.h: remove unused ARGNUM* macros
diff --git a/arg.h b/arg.h
index 4df77a7..ff1fd13 100644
--- a/arg.h
+++ b/arg.h
_AT_@ -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')?\
Received on Sun Nov 08 2015 - 23:38:00 CET
This archive was generated by hypermail 2.3.0
: Sun Nov 08 2015 - 23:48:12 CET