]> granicus.if.org Git - libnl/commitdiff
Make struct nl_object public, NLHDR_COMMON has been public anyway
authorThomas Graf <tgraf@suug.ch>
Thu, 17 Mar 2011 13:44:56 +0000 (14:44 +0100)
committerThomas Graf <tgraf@suug.ch>
Thu, 17 Mar 2011 13:44:56 +0000 (14:44 +0100)
include/netlink-types.h
include/netlink/object-api.h

index 24911b9295944513bf289a516b096700cbe81ef5..de17f9ab003e89a15777351b582bee2a9f909eab 100644 (file)
@@ -101,11 +101,6 @@ struct nl_parser_param;
 
 #define NL_OBJ_MARK            1
 
-struct nl_object
-{
-       NLHDR_COMMON
-};
-
 struct nl_data
 {
        size_t                  d_size;
index b3337f00ba313380870fd40c909b4000c748542d..70a4ddd06d42da6ed42620cc107c814723f181aa 100644 (file)
@@ -190,6 +190,12 @@ extern "C" {
        int                     ce_flags;       \
        uint32_t                ce_mask;
 
+struct nl_object
+{
+       NLHDR_COMMON
+};
+
+
 /**
  * Return true if attribute is available in both objects
  * @arg A              an object