Include header files explicitly in *.c, not via header files

This commit is contained in:
Jouni Malinen 2009-12-26 00:31:51 +02:00
parent 6e6e8c31ff
commit 81f4f6195e
14 changed files with 19 additions and 3 deletions

View file

@ -22,6 +22,7 @@
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"
#include "ap/hostapd.h" #include "ap/hostapd.h"

View file

@ -18,6 +18,8 @@
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "hostapd.h" #include "hostapd.h"
#include "ap_config.h" #include "ap_config.h"

View file

@ -17,6 +17,7 @@
#include "utils/includes.h" #include "utils/includes.h"
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "wpa_auth.h" #include "wpa_auth.h"
#include "sta_info.h" #include "sta_info.h"

View file

@ -19,6 +19,8 @@
#ifndef CONFIG_NATIVE_WINDOWS #ifndef CONFIG_NATIVE_WINDOWS
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -17,6 +17,7 @@
#include "utils/common.h" #include "utils/common.h"
#include "radius/radius.h" #include "radius/radius.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "common/ieee802_11_defs.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "sta_info.h" #include "sta_info.h"

View file

@ -48,6 +48,7 @@
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "hostapd.h" #include "hostapd.h"
#include "ap_config.h" #include "ap_config.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -20,6 +20,8 @@
#include "utils/eloop.h" #include "utils/eloop.h"
#include "crypto/crypto.h" #include "crypto/crypto.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "common/wpa_ctrl.h" #include "common/wpa_ctrl.h"
#include "radius/radius.h" #include "radius/radius.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"

View file

@ -15,13 +15,11 @@
#ifndef IEEE802_11_H #ifndef IEEE802_11_H
#define IEEE802_11_H #define IEEE802_11_H
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
struct hostapd_iface; struct hostapd_iface;
struct hostapd_data; struct hostapd_data;
struct sta_info; struct sta_info;
struct hostapd_frame_info; struct hostapd_frame_info;
struct ieee80211_ht_capabilities;
void ieee802_11_send_deauth(struct hostapd_data *hapd, const u8 *addr, void ieee802_11_send_deauth(struct hostapd_data *hapd, const u8 *addr,
u16 reason); u16 reason);

View file

@ -16,6 +16,7 @@
#include "utils/includes.h" #include "utils/includes.h"
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "drivers/driver.h" #include "drivers/driver.h"
#include "hostapd.h" #include "hostapd.h"
#include "ap_config.h" #include "ap_config.h"

View file

@ -16,6 +16,7 @@
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "common/ieee802_11_defs.h"
#include "radius/radius.h" #include "radius/radius.h"
#include "radius/radius_client.h" #include "radius/radius_client.h"
#include "drivers/driver.h" #include "drivers/driver.h"

View file

@ -17,6 +17,8 @@
#include "utils/includes.h" #include "utils/includes.h"
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "hostapd.h" #include "hostapd.h"
#include "ieee802_11.h" #include "ieee802_11.h"
#include "sta_info.h" #include "sta_info.h"

View file

@ -19,6 +19,7 @@
#include "utils/common.h" #include "utils/common.h"
#include "utils/eloop.h" #include "utils/eloop.h"
#include "utils/state_machine.h" #include "utils/state_machine.h"
#include "common/ieee802_11_defs.h"
#include "crypto/aes_wrap.h" #include "crypto/aes_wrap.h"
#include "crypto/crypto.h" #include "crypto/crypto.h"
#include "crypto/sha1.h" #include "crypto/sha1.h"

View file

@ -15,6 +15,8 @@
#include "utils/includes.h" #include "utils/includes.h"
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "common/ieee802_11_common.h"
#include "crypto/aes_wrap.h" #include "crypto/aes_wrap.h"
#include "ap_config.h" #include "ap_config.h"
#include "ieee802_11.h" #include "ieee802_11.h"

View file

@ -15,6 +15,7 @@
#include "utils/includes.h" #include "utils/includes.h"
#include "utils/common.h" #include "utils/common.h"
#include "common/ieee802_11_defs.h"
#include "eapol_auth/eapol_auth_sm.h" #include "eapol_auth/eapol_auth_sm.h"
#include "ap_config.h" #include "ap_config.h"
#include "ieee802_11.h" #include "ieee802_11.h"