diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-23 12:43:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-11-23 12:43:38 +0000 |
commit | c7ba3e6a6ebc0ed5212d46d88b304eff40501345 (patch) | |
tree | 23505b942c91d5fc217ddeb30397f1164b3acfe9 /regress/etc | |
parent | bff5e2d330b79ad79b90e59ef490bc9ff91e560c (diff) |
this adds:
#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
in the kernel, you can now use this instead of torturing yourself.
ok dlg, well, really i just finally gave in to his arguments and we choose
a better name than sizeofa().
Diffstat (limited to 'regress/etc')
0 files changed, 0 insertions, 0 deletions