From b1aaba1fc8176ac0b7c202a664d2554aa0967116 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 20 Jan 2008 17:25:44 -0600 Subject: Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS() macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion. --- lib/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/args.c') diff --git a/lib/args.c b/lib/args.c index 09939fbd..96e1e6d3 100644 --- a/lib/args.c +++ b/lib/args.c @@ -130,7 +130,7 @@ void get_optflags(void) char *str; int len; } *longopts = NULL; - long *nextarg = (long *)&toy; + long *nextarg = (long *)&this; char *options = toys.which->options; if (CFG_HELP) toys.exithelp++; -- cgit v1.2.3