batman-adv: Remove batadv_ types forward declarations

main.h is included in every file and is the only way to access types.h.
This makes forward declarations for all types defined in types.h
unnecessary.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Antonio Quartulli <antonio@meshcoding.com>
This commit is contained in:
Sven Eckelmann
2015-06-18 18:53:19 +02:00
committed by Antonio Quartulli
parent 383b863620
commit 2bdd1888f1
11 changed files with 0 additions and 27 deletions
-3
View File
@@ -22,9 +22,6 @@
#include <linux/types.h>
struct batadv_hard_iface;
struct batadv_orig_node;
struct batadv_priv;
struct seq_file;
struct sk_buff;
-1
View File
@@ -22,7 +22,6 @@
#include <linux/kconfig.h>
struct batadv_hard_iface;
struct net_device;
#define BATADV_DEBUGFS_SUBDIR "batman_adv"
-1
View File
@@ -22,7 +22,6 @@
#include <linux/types.h>
struct batadv_priv;
struct net_device;
enum batadv_gw_modes {
-1
View File
@@ -23,7 +23,6 @@
#include <linux/types.h>
struct batadv_icmp_header;
struct batadv_priv;
#define BATADV_ICMP_SOCKET "socket"
-2
View File
@@ -20,8 +20,6 @@
#include "main.h"
struct batadv_orig_node;
struct batadv_priv;
struct sk_buff;
/**
-4
View File
@@ -22,11 +22,7 @@
#include <linux/types.h>
struct batadv_nc_node;
struct batadv_neigh_node;
struct batadv_ogm_packet;
struct batadv_orig_node;
struct batadv_priv;
struct net_device;
struct seq_file;
struct sk_buff;
-4
View File
@@ -22,10 +22,6 @@
#include <linux/types.h>
struct batadv_hard_iface;
struct batadv_neigh_node;
struct batadv_orig_node;
struct batadv_priv;
struct sk_buff;
bool batadv_check_management_packet(struct sk_buff *skb,
-3
View File
@@ -25,9 +25,6 @@
#include "packet.h"
struct batadv_hard_iface;
struct batadv_orig_node;
struct batadv_priv;
struct sk_buff;
struct work_struct;
-4
View File
@@ -22,10 +22,6 @@
#include <net/rtnetlink.h>
struct batadv_hard_iface;
struct batadv_orig_node;
struct batadv_priv;
struct batadv_softif_vlan;
struct net_device;
struct sk_buff;
-2
View File
@@ -23,8 +23,6 @@
#include <linux/sysfs.h>
#include <linux/types.h>
struct batadv_priv;
struct batadv_softif_vlan;
struct kobject;
struct net_device;
-2
View File
@@ -22,8 +22,6 @@
#include <linux/types.h>
struct batadv_orig_node;
struct batadv_priv;
struct net_device;
struct seq_file;