summaryrefslogtreecommitdiff
path: root/regress/etc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-23 12:43:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-23 12:43:38 +0000
commitc7ba3e6a6ebc0ed5212d46d88b304eff40501345 (patch)
tree23505b942c91d5fc217ddeb30397f1164b3acfe9 /regress/etc
parentbff5e2d330b79ad79b90e59ef490bc9ff91e560c (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