[hackers] [st] Update arg.h from sbase || Roberto E. Vargas Caballero
commit 33da67dac035b0d592f984bce90aec8d815b38a8
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Wed Dec 18 08:29:28 2013 +0100
Update arg.h from sbase
sbase did some interesting modifications to arg.h (basically it
was fixed an incorrect use of the _ namespace), and this commit
take this last version for st.
diff --git a/arg.h b/arg.h
index 2b189fe..4df77a7 100644
--- a/arg.h
+++ b/arg.h
_AT_@ -3,53 +3,61 @@
* by 20h
*/
-#ifndef __ARG_H__
-#define __ARG_H__
+#ifndef ARG_H__
+#define ARG_H__
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]\
&& argv[0][0] == '-';\
argc--, argv++) {\
- char _argc;\
- char **_argv;\
- int brk;\
+ char argc_;\
+ char **argv_;\
+ int brk_;\
if (argv[0][1] == '-' && argv[0][2] == '
Received on Fri Dec 20 2013 - 08:07:40 CET
This archive was generated by hypermail 2.3.0
: Fri Dec 20 2013 - 08:12:13 CET