summaryrefslogtreecommitdiff
path: root/libnm/nm-wimax-nsp.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-08-13 14:10:11 -0400
committerDan Winship <danw@gnome.org>2014-08-16 10:17:14 -0400
commitc81fb49aa55b0f3001a372b6034dd04712c1d10f (patch)
tree0c70ef49714d510d2fe9dacbf07c068f7844e6c9 /libnm/nm-wimax-nsp.h
parent76ac21b26d67a680e23c0b3539e02a70798abdbc (diff)
downloadNetworkManager-c81fb49aa55b0f3001a372b6034dd04712c1d10f.tar.gz
all: fix up multiple-include-guard defines
Previously, src/nm-ip4-config.h, libnm/nm-ip4-config.h, and libnm-glib/nm-ip4-config.h all used "NM_IP4_CONFIG_H" as an include guard, which meant that nm-test-utils.h could not tell which of them was being included (and so, eg, if you tried to include nm-ip4-config.h in a libnm test, it would fail to compile because nm-test-utils.h was referring to symbols in src/nm-ip4-config.h). Fix this by changing the include guards in the non-API-stable parts of the tree: - libnm-glib/nm-ip4-config.h remains NM_IP4_CONFIG_H - libnm/nm-ip4-config.h now uses __NM_IP4_CONFIG_H__ - src/nm-ip4-config.h now uses __NETWORKMANAGER_IP4_CONFIG_H__ And likewise for all other headers. The two non-"nm"-prefixed headers, libnm/NetworkManager.h and src/NetworkManagerUtils.h are now __NETWORKMANAGER_H__ and __NETWORKMANAGER_UTILS_H__ respectively, which, while not entirely consistent with the general scheme, do still mostly make sense in isolation.
Diffstat (limited to 'libnm/nm-wimax-nsp.h')
-rw-r--r--libnm/nm-wimax-nsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libnm/nm-wimax-nsp.h b/libnm/nm-wimax-nsp.h
index 48f89fa15b..3cae3fc263 100644
--- a/libnm/nm-wimax-nsp.h
+++ b/libnm/nm-wimax-nsp.h
@@ -19,8 +19,8 @@
* Copyright 2009 Novell, Inc.
*/
-#ifndef NM_WIMAX_NSP_H
-#define NM_WIMAX_NSP_H
+#ifndef __NM_WIMAX_NSP_H__
+#define __NM_WIMAX_NSP_H__
#if !defined (__NETWORKMANAGER_H_INSIDE__) && !defined (NETWORKMANAGER_COMPILATION)
#error "Only <NetworkManager.h> can be included directly."
@@ -76,4 +76,4 @@ gboolean nm_wimax_nsp_connection_valid (NMWimaxNsp *nsp,
G_END_DECLS
-#endif /* NM_WIMAX_NSP_H */
+#endif /* __NM_WIMAX_NSP_H__ */