Commit Diff


commit - 8419a396638b389d382a326489f488ad1f139b39
commit + 11624658e63b039ca9c172f4c2dca569f6b39bd0
blob - 29ef3bd95c49464e680c6f83ccd0e636ad7b2aeb
blob + 64552dceda5c102eb73b5eec5209492b4c0c60fa
--- lib/object_idset.c
+++ lib/object_idset.c
@@ -33,10 +33,6 @@
 #include "got_lib_object.h"
 #include "got_lib_object_idset.h"
 
-#ifndef nitems
-#define nitems(_a) (sizeof(_a) / sizeof((_a)[0]))
-#endif
-
 struct got_object_idset_element {
 	RB_ENTRY(got_object_idset_element)	entry;
 	struct got_object_id id;