]> git.ipfire.org Git - thirdparty/libnl.git/commitdiff
basic: Declare rtnl_act in basic.h to silence warning
authorThomas Graf <tgraf@suug.ch>
Mon, 9 Dec 2013 14:43:33 +0000 (15:43 +0100)
committerThomas Graf <tgraf@suug.ch>
Mon, 9 Dec 2013 14:43:33 +0000 (15:43 +0100)
Signed-off-by: Thomas Graf <tgraf@suug.ch>
include/netlink/route/cls/basic.h

index 7cd475559ce642dc4c081339c47bfebaa88bce38..a48ee2e32e562b73dec6d9405d95c1bdd93d573b 100644 (file)
@@ -6,7 +6,7 @@
  *     License as published by the Free Software Foundation version 2.1
  *     of the License.
  *
- * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch>
+ * Copyright (c) 2008-2013 Thomas Graf <tgraf@suug.ch>
  */
 
 #ifndef NETLINK_BASIC_H_
@@ -20,6 +20,8 @@
 extern "C" {
 #endif
 
+struct rtnl_act;
+
 extern void                    rtnl_basic_set_target(struct rtnl_cls *, uint32_t);
 extern uint32_t                        rtnl_basic_get_target(struct rtnl_cls *);
 extern void                    rtnl_basic_set_ematch(struct rtnl_cls *,