Mark functions static if not used elsewhere and use proper prototypes
This commit is contained in:
parent
26d1dc96e9
commit
7e5ba1b916
10 changed files with 50 additions and 53 deletions
|
@ -30,8 +30,6 @@
|
|||
#include "wps_supplicant.h"
|
||||
#include "wps/wps.h"
|
||||
|
||||
extern struct wpa_driver_ops *wpa_supplicant_drivers[];
|
||||
|
||||
static int wpa_supplicant_global_iface_list(struct wpa_global *global,
|
||||
char *buf, int len);
|
||||
static int wpa_supplicant_global_iface_interfaces(struct wpa_global *global,
|
||||
|
|
|
@ -21,19 +21,6 @@
|
|||
#include "wpa_supplicant_i.h"
|
||||
|
||||
|
||||
extern const char *wpa_supplicant_version;
|
||||
extern const char *wpa_supplicant_license;
|
||||
#ifndef CONFIG_NO_STDOUT_DEBUG
|
||||
extern const char *wpa_supplicant_full_license1;
|
||||
extern const char *wpa_supplicant_full_license2;
|
||||
extern const char *wpa_supplicant_full_license3;
|
||||
extern const char *wpa_supplicant_full_license4;
|
||||
extern const char *wpa_supplicant_full_license5;
|
||||
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||
|
||||
extern struct wpa_driver_ops *wpa_supplicant_drivers[];
|
||||
|
||||
|
||||
static void usage(void)
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -108,8 +108,6 @@ const char *wpa_supplicant_full_license5 =
|
|||
"\n";
|
||||
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||
|
||||
extern struct wpa_driver_ops *wpa_supplicant_drivers[];
|
||||
|
||||
extern int wpa_debug_level;
|
||||
extern int wpa_debug_show_keys;
|
||||
extern int wpa_debug_timestamp;
|
||||
|
|
|
@ -17,6 +17,19 @@
|
|||
|
||||
#include "drivers/driver.h"
|
||||
|
||||
extern const char *wpa_supplicant_version;
|
||||
extern const char *wpa_supplicant_license;
|
||||
#ifndef CONFIG_NO_STDOUT_DEBUG
|
||||
extern const char *wpa_supplicant_full_license1;
|
||||
extern const char *wpa_supplicant_full_license2;
|
||||
extern const char *wpa_supplicant_full_license3;
|
||||
extern const char *wpa_supplicant_full_license4;
|
||||
extern const char *wpa_supplicant_full_license5;
|
||||
#endif /* CONFIG_NO_STDOUT_DEBUG */
|
||||
|
||||
extern struct wpa_driver_ops *wpa_supplicant_drivers[];
|
||||
|
||||
|
||||
struct wpa_scan_result;
|
||||
struct wpa_sm;
|
||||
struct wpa_supplicant;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue