mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove ARRAY_SIZE macro from header
It is only used in a single source file, so no point having it in a (non-generic) header. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
59d678b5b1
commit
aa34afc3f7
2 changed files with 2 additions and 2 deletions
|
@ -30,6 +30,8 @@
|
|||
#include "tag.h"
|
||||
#include "subsurface-time.h"
|
||||
|
||||
#define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0]))
|
||||
|
||||
const char *saved_git_id = NULL;
|
||||
|
||||
struct git_parser_state {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue