summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-07-02 15:43:26 +0200
committerThomas Haller <thaller@redhat.com>2015-07-02 16:26:17 +0200
commita130f72d745bcfef8aca228f40e8d94ce18bbaef (patch)
treed016297cc5704a9685b0cb97a014798fb163f9d0
parent05db3ee08a30edc503e2b9033993ee3d2cbf019f (diff)
downloadNetworkManager-a130f72d745bcfef8aca228f40e8d94ce18bbaef.tar.gz
platform: mark internal enums to be skipped by glib-mkenums
No need to generate glib type information for these internal enums.
-rw-r--r--src/platform/nm-platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/platform/nm-platform.h b/src/platform/nm-platform.h
index a8a6caa6fd..53c83b8038 100644
--- a/src/platform/nm-platform.h
+++ b/src/platform/nm-platform.h
@@ -54,7 +54,7 @@ typedef struct _NMPlatform NMPlatform;
#define IFA_F_NOPREFIXROUTE 0x200
#endif
-typedef enum {
+typedef enum { /*< skip >*/
/* dummy value, to enforce that the enum type is signed and has a size
* to hold an integer. We want to encode errno from <errno.h> as negative
@@ -74,7 +74,7 @@ typedef enum {
NM_PLATFORM_ERROR_NO_FIRMWARE,
} NMPlatformError;
-typedef enum {
+typedef enum { /*< skip >*/
NM_PLATFORM_REASON_NONE,
/* Event was requested by NetworkManager. */
NM_PLATFORM_REASON_INTERNAL,
@@ -141,7 +141,7 @@ struct _NMPlatformLink {
guint mtu;
};
-typedef enum {
+typedef enum { /*< skip >*/
NM_PLATFORM_SIGNAL_NONE,
NM_PLATFORM_SIGNAL_ADDED,
NM_PLATFORM_SIGNAL_CHANGED,
@@ -150,7 +150,7 @@ typedef enum {
#define NM_PLATFORM_LIFETIME_PERMANENT G_MAXUINT32
-typedef enum {
+typedef enum { /*< skip >*/
NM_PLATFORM_GET_ROUTE_FLAGS_NONE = 0,
/* Whether to include default-routes/non-default-routes. Omitting