about summary refs log tree commit diff
path: root/src/platform/nmp-object.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2016-08-26 02:19:30 +0200
committerMichael Biebl <biebl@debian.org>2016-08-26 02:19:30 +0200
commit229bfa11c4d56b4c1017c81c7dbafbedd15e3153 (patch)
treeedfc7357b6494a5c0cb016bb88d61b623daa9876 /src/platform/nmp-object.h
parent6318db9c78b4fe207dfe700cfac11a675fc63dc9 (diff)
parent7514efc2f38c9ace4557d4e69d68e7d380389030 (diff)
Merge tag 'upstream/1.4.0'
Upstream version 1.4.0
Diffstat (limited to 'src/platform/nmp-object.h')
-rw-r--r--src/platform/nmp-object.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/nmp-object.h b/src/platform/nmp-object.h
index c5241037..d295f7a0 100644
--- a/src/platform/nmp-object.h
+++ b/src/platform/nmp-object.h
@@ -94,9 +94,9 @@ typedef enum { /*< skip >*/
 	NMP_CACHE_ID_TYPE_MAX = __NMP_CACHE_ID_TYPE_MAX - 1,
 } NMPCacheIdType;
 
-typedef struct _NMPObject NMPObject;
+typedef struct _NMPCacheId NMPCacheId;
 
-typedef struct {
+struct _NMPCacheId {
 	union {
 		NMMultiIndexId base;
 		guint8 _id_type; /* NMPCacheIdType as guint8 */
@@ -136,7 +136,7 @@ typedef struct {
 			struct in6_addr _misaligned_network;
 		} routes_by_destination_ip6;
 	};
-} NMPCacheId;
+};
 
 extern NMPCacheId _nmp_cache_id_static;
 #define NMP_CACHE_ID_STATIC  (&_nmp_cache_id_static)