commit c55948ba91c7daab7a269ba8c70c7432d93a1b87
parent 777f9584266675cf912428f9303882c14e96077f
Author: sin <sin@2f30.org>
Date: Wed, 6 Nov 2013 13:22:13 +0000
No need to use USED() in arg.h for sbase
Tested on Linux and OpenBSD (with gcc and pcc).
Diffstat:
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/arg.h b/arg.h
@@ -8,8 +8,6 @@
extern char *argv0;
-#define USED(x) ((void)(x))
-
/* use main(int argc, char *argv[]) */
#define ARGBEGIN for (argv0 = *argv, argv++, argc--;\
argv[0] && argv[0][1]\
@@ -32,10 +30,7 @@ extern char *argv0;
switch (_argc)
#define ARGEND }\
- USED(_argc);\
- }\
- USED(argv);\
- USED(argc);
+ }
#define ARGC() _argc