changed elemsof() macro to countof()

This commit is contained in:
Andreas Steffen
2009-04-17 09:28:45 +00:00
parent 247e665a44
commit 2775c9aac8
11 changed files with 13 additions and 15 deletions
-2
View File
@@ -30,8 +30,6 @@ extern void init_constants(void);
* Any changes here should be reflected there.
*/
#define elemsof(array) (sizeof(array) / sizeof(*(array))) /* number of elements in an array */
/* Many routines return only success or failure, but wish to describe
* the failure in a message. We use the convention that they return
* a NULL on success and a pointer to constant string on failure.