summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-02-12 12:34:43 +0100
committerThomas Haller <thaller@redhat.com>2016-02-14 11:34:42 +0100
commite663b88c59a6891c9f2b5a41f50c11033e5d0364 (patch)
tree95c334508a8699f176ebdebbad9d0697b4ac790d /shared
parentafaa27ddbbb7a47ba062d1d58df7186a314f0b47 (diff)
downloadNetworkManager-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 'shared')
-rw-r--r--shared/nm-macros-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/nm-macros-internal.h b/shared/nm-macros-internal.h
index 4b43b5882b..f3a3124d55 100644
--- a/shared/nm-macros-internal.h
+++ b/shared/nm-macros-internal.h
@@ -107,7 +107,7 @@
/********************************************************/
/* macro to return strlen() of a compile time string. */
-#define STRLEN(str) ( sizeof ("" str) - 1 )
+#define NM_STRLEN(str) ( sizeof ("" str) - 1 )
#define NM_SET_OUT(out_val, value) \
G_STMT_START { \