commit | b1aaba1fc8176ac0b7c202a664d2554aa0967116 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Sun Jan 20 17:25:44 2008 -0600 |
committer | Rob Landley <rob@landley.net> | Sun Jan 20 17:25:44 2008 -0600 |
tree | 7bbd14f5dd2413a6b913ea04b0bdf746a2d5b1fb | |
parent | eb9b8da0698aacd14f5aa0879d2a8e390c0c6c13 [diff] [blame] |
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.
diff --git a/main.c b/main.c index b7adeda..d9408f3 100644 --- a/main.c +++ b/main.c
@@ -22,7 +22,7 @@ // global context for this applet. struct toy_context toys; -union toy_union toy; +union global_union this; char toybuf[4096]; struct toy_list *toy_find(char *name)