From 5f849faa15c8010d95211ec7d2d5fecde95430da Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Wed, 18 May 2016 20:47:27 +0200 Subject: [PATCH] platform: fix the typedef-redefinition warnings The configure script disabled the warning by accident. --- src/platform/nm-platform.h | 2 -- src/platform/nmp-object.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h index ae12aa8e95..88cedeffa1 100644 --- a/src/platform/nm-platform.h +++ b/src/platform/nm-platform.h @@ -49,8 +49,6 @@ /******************************************************************/ -typedef struct _NMPlatform NMPlatform; - /* workaround for older libnl version, that does not define these flags. */ #ifndef IFA_F_MANAGETEMPADDR #define IFA_F_MANAGETEMPADDR 0x100 diff --git a/src/platform/nmp-object.h b/src/platform/nmp-object.h index 062d01d29d..d295f7a078 100644 --- a/src/platform/nmp-object.h +++ b/src/platform/nmp-object.h @@ -94,7 +94,6 @@ typedef enum { /*< skip >*/ NMP_CACHE_ID_TYPE_MAX = __NMP_CACHE_ID_TYPE_MAX - 1, } NMPCacheIdType; -typedef struct _NMPObject NMPObject; typedef struct _NMPCacheId NMPCacheId; struct _NMPCacheId {