all/trivial: rename STRLEN() macro to NM_STRLEN()
We should not have defines/macros in header files without a nm/NM prefix. STRLEN() was one of the few offenders. https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00048.html
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
#include "crypto.h"
|
||||
|
||||
/* Embed the commit id in the build binary */
|
||||
static const char *const __nm_git_sha = STRLEN (NM_GIT_SHA) > 0 ? "NM_GIT_SHA:"NM_GIT_SHA : "";
|
||||
static const char *const __nm_git_sha = NM_STRLEN (NM_GIT_SHA) > 0 ? "NM_GIT_SHA:"NM_GIT_SHA : "";
|
||||
|
||||
/**
|
||||
* SECTION:nm-utils
|
||||
|
Reference in New Issue
Block a user