diff options
author | Thomas Haller <thaller@redhat.com> | 2016-02-12 12:34:43 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-02-14 11:34:42 +0100 |
commit | e663b88c59a6891c9f2b5a41f50c11033e5d0364 (patch) | |
tree | 95c334508a8699f176ebdebbad9d0697b4ac790d /libnm-util/nm-utils.c | |
parent | afaa27ddbbb7a47ba062d1d58df7186a314f0b47 (diff) | |
download | NetworkManager-e663b88c59a6891c9f2b5a41f50c11033e5d0364.tar.gz |
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
Diffstat (limited to 'libnm-util/nm-utils.c')
-rw-r--r-- | libnm-util/nm-utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/nm-utils.c b/libnm-util/nm-utils.c index 5f5dc1f663..693ed6908c 100644 --- a/libnm-util/nm-utils.c +++ b/libnm-util/nm-utils.c @@ -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 |