AP_Common: remove ARRAY_SIZE_SIMPLE
Now this is basically ARRAY_SIZE, so remove it.
This commit is contained in:
parent
668c941717
commit
88df4d127e
@ -73,9 +73,6 @@
|
||||
|
||||
#define ARRAY_SIZE(_arr) (sizeof(_arr) / sizeof(_arr[0]))
|
||||
|
||||
// simpler ARRAY_SIZE which can handle zero elements
|
||||
#define ARRAY_SIZE_SIMPLE(_arr) (sizeof(_arr)/sizeof(_arr[0]))
|
||||
|
||||
/*
|
||||
* See UNUSED_RESULT. The difference is that it receives @uniq_ as the name to
|
||||
* be used for its internal variable.
|
||||
|
Loading…
Reference in New Issue
Block a user