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
@ -18,8 +18,6 @@ extern "C" {
|
||||
#define CLOUD_HOST_PATTERN "ssrf-cloud-..\\.subsurface-divelog\\.org"
|
||||
#define CLOUD_HOST_GENERIC "cloud.subsurface-divelog.org"
|
||||
|
||||
#define ARRAY_SIZE(array) (sizeof(array)/sizeof(array[0]))
|
||||
|
||||
enum remote_transport { RT_LOCAL, RT_HTTPS, RT_SSH, RT_OTHER };
|
||||
|
||||
struct git_oid;
|
||||
|
||||
@ -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…
x
Reference in New Issue
Block a user