diff options
| author | Iain Lane <iain@orangesquash.org.uk> | 2018-09-24 09:29:55 +0100 |
|---|---|---|
| committer | Iain Lane <iain@orangesquash.org.uk> | 2018-09-24 09:29:55 +0100 |
| commit | e152ec7bf4ba252ff9d3eb13eabd417b931dac9a (patch) | |
| tree | c323cf856ee0bb8e44590670dd54c19653a55748 /libnm/nm-ip6-config.h | |
| parent | ee9c73a923909e23a649407be77e25235d769e25 (diff) | |
Import Upstream version 1.12.2
Diffstat (limited to 'libnm/nm-ip6-config.h')
| -rw-r--r-- | libnm/nm-ip6-config.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/libnm/nm-ip6-config.h b/libnm/nm-ip6-config.h index 12e723b2..1d21adb4 100644 --- a/libnm/nm-ip6-config.h +++ b/libnm/nm-ip6-config.h @@ -22,9 +22,11 @@ #ifndef __NM_IP6_CONFIG_H__ #define __NM_IP6_CONFIG_H__ -#include "nm-ip-config.h" +#if !((NETWORKMANAGER_COMPILATION) & NM_NETWORKMANAGER_COMPILATION_WITH_LIBNM_PRIVATE) +#error Cannot use this header. +#endif -G_BEGIN_DECLS +#include "nm-ip-config.h" #define NM_TYPE_IP6_CONFIG (nm_ip6_config_get_type ()) #define NM_IP6_CONFIG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), NM_TYPE_IP6_CONFIG, NMIP6Config)) @@ -42,13 +44,8 @@ typedef struct { typedef struct { NMIPConfigClass parent; - - /*< private >*/ - gpointer padding[4]; } NMIP6ConfigClass; GType nm_ip6_config_get_type (void); -G_END_DECLS - #endif /* __NM_IP6_CONFIG_H__ */ |