diff options
author | Rob Landley <rob@landley.net> | 2012-08-14 01:42:06 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-08-14 01:42:06 -0500 |
commit | 9c1c5ecd688052c39574999a523fa95f022b69b8 (patch) | |
tree | a051a16fde13230d5e4daeac9009d4e287f2d737 /toys.h | |
parent | 878aca71af67b6ceae27f6129e13c809fe8e993d (diff) | |
download | toybox-9c1c5ecd688052c39574999a523fa95f022b69b8.tar.gz |
Replace TOY_LIST_LEN with more generic ARRAY_LEN()
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -108,3 +108,5 @@ extern struct toy_context { extern char toybuf[4096]; #define DEFINE_GLOBALS(...) + +#define ARRAY_LEN(array) (sizeof(array)/sizeof(*array)) |