commit | 9c1c5ecd688052c39574999a523fa95f022b69b8 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Tue Aug 14 01:42:06 2012 -0500 |
committer | Rob Landley <rob@landley.net> | Tue Aug 14 01:42:06 2012 -0500 |
tree | a051a16fde13230d5e4daeac9009d4e287f2d737 | |
parent | 878aca71af67b6ceae27f6129e13c809fe8e993d [diff] [blame] |
Replace TOY_LIST_LEN with more generic ARRAY_LEN()
diff --git a/toys.h b/toys.h index a03ed7c..0338077 100644 --- a/toys.h +++ b/toys.h
@@ -108,3 +108,5 @@ extern char toybuf[4096]; #define DEFINE_GLOBALS(...) + +#define ARRAY_LEN(array) (sizeof(array)/sizeof(*array))