summary refs log tree commit diff
path: root/libnm/nm-dhcp4-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnm/nm-dhcp4-config.h')
-rw-r--r--libnm/nm-dhcp4-config.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/libnm/nm-dhcp4-config.h b/libnm/nm-dhcp4-config.h
index 6669aa0e..2cbbdc9e 100644
--- a/libnm/nm-dhcp4-config.h
+++ b/libnm/nm-dhcp4-config.h
@@ -21,12 +21,10 @@
 #ifndef __NM_DHCP4_CONFIG_H__
 #define __NM_DHCP4_CONFIG_H__
 
-#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE)
-#error Cannot use this header.
-#endif
-
 #include "nm-dhcp-config.h"
 
+G_BEGIN_DECLS
+
 #define NM_TYPE_DHCP4_CONFIG            (nm_dhcp4_config_get_type ())
 #define NM_DHCP4_CONFIG(obj)            (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_DHCP4_CONFIG, NMDhcp4Config))
 #define NM_DHCP4_CONFIG_CLASS(klass)    (G_TYPE_CHECK_CLASS_CAST ((klass), NM_TYPE_DHCP4_CONFIG, NMDhcp4ConfigClass))
@@ -42,8 +40,13 @@ typedef struct {
 
 typedef struct {
 	NMDhcpConfigClass parent;
+
+	/*< private >*/
+	gpointer padding[4];
 } NMDhcp4ConfigClass;
 
 GType nm_dhcp4_config_get_type (void);
 
+G_END_DECLS
+
 #endif /* __NM_DHCP4_CONFIG_H__ */