Permalink
Browse files

basic: Declare rtnl_act in basic.h to silence warning

Signed-off-by: Thomas Graf <tgraf@suug.ch>
  • Loading branch information...
tgraf committed Dec 9, 2013
1 parent 438e3ff commit a858d996e952af5bf449b87775f74355d492a0ec
Showing with 3 additions and 1 deletion.
  1. +3 −1 include/netlink/route/cls/basic.h
@@ -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 *,

0 comments on commit a858d99

Please sign in to comment.