]> git.armaanb.net Git - dmenu.git/commitdiff
arg.h: remove unused ARGNUM* macros
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 8 Nov 2015 22:37:47 +0000 (23:37 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sun, 8 Nov 2015 22:37:47 +0000 (23:37 +0100)
arg.h

diff --git a/arg.h b/arg.h
index 4df77a701f443d2b9e91d90dd1a1405891986ff1..ff1fd132ada599cb5c76b2d30aadbb9f386b3bf7 100644 (file)
--- a/arg.h
+++ b/arg.h
@@ -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')?\