commit a4b84fbe83787b3777497872dcdeee05504aef64 Author: sin <s...@2f30.org> Date: Wed Nov 6 13:22:13 2013 +0000
No need to use USED() in arg.h for sbase Tested on Linux and OpenBSD (with gcc and pcc). diff --git a/arg.h b/arg.h index 2b189fe..2009b70 100644 --- 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