dawn: change __unit8_t to uint8_t

Fixed #11689.

Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
Polynomialdivision 2020-03-29 10:49:33 +02:00
parent b967c1e0b6
commit a25bb91f37
2 changed files with 7 additions and 7 deletions

View file

@ -13,7 +13,7 @@
* @param client_addr - mac adress of the client * @param client_addr - mac adress of the client
* @return The RSSI of the client if successful. INT_MIN if client was not found. * @return The RSSI of the client if successful. INT_MIN if client was not found.
*/ */
int get_rssi_iwinfo(__uint8_t *client_addr); int get_rssi_iwinfo(uint8_t *client_addr);
/** /**
* Get expected throughut using the mac adress of the client. * Get expected throughut using the mac adress of the client.
@ -34,7 +34,7 @@ int get_expected_throughput_iwinfo(uint8_t *client_addr);
* @param tx_rate - float pointer for returning the tx rate * @param tx_rate - float pointer for returning the tx rate
* @return 0 if successful 1 otherwise. * @return 0 if successful 1 otherwise.
*/ */
int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate); int get_bandwidth_iwinfo(uint8_t *client_addr, float *rx_rate, float *tx_rate);
/** /**
* Function checks if two bssid adresses have the same essid. * Function checks if two bssid adresses have the same essid.
@ -43,7 +43,7 @@ int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate)
* @param bssid_addr_to_compares * @param bssid_addr_to_compares
* @return 1 if the bssid adresses have the same essid. * @return 1 if the bssid adresses have the same essid.
*/ */
int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare); int compare_essid_iwinfo(uint8_t *bssid_addr, uint8_t *bssid_addr_to_compare);
/** /**
* Function returns the expected throughput using the interface and the client address. * Function returns the expected throughput using the interface and the client address.

View file

@ -21,7 +21,7 @@ int get_bandwidth(const char *ifname, uint8_t *client_addr, float *rx_rate, floa
#define IWINFO_ESSID_MAX_SIZE 32 #define IWINFO_ESSID_MAX_SIZE 32
int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare) { int compare_essid_iwinfo(uint8_t *bssid_addr, uint8_t *bssid_addr_to_compare) {
const struct iwinfo_ops *iw; const struct iwinfo_ops *iw;
char mac_buf[20]; char mac_buf[20];
@ -81,7 +81,7 @@ int compare_essid_iwinfo(__uint8_t *bssid_addr, __uint8_t *bssid_addr_to_compare
return -1; return -1;
} }
int get_bandwidth_iwinfo(__uint8_t *client_addr, float *rx_rate, float *tx_rate) { int get_bandwidth_iwinfo(uint8_t *client_addr, float *rx_rate, float *tx_rate) {
DIR *dirp; DIR *dirp;
struct dirent *entry; struct dirent *entry;
@ -137,7 +137,7 @@ int get_bandwidth(const char *ifname, uint8_t *client_addr, float *rx_rate, floa
return 0; return 0;
} }
int get_rssi_iwinfo(__uint8_t *client_addr) { int get_rssi_iwinfo(uint8_t *client_addr) {
DIR *dirp; DIR *dirp;
struct dirent *entry; struct dirent *entry;
@ -190,7 +190,7 @@ int get_rssi(const char *ifname, uint8_t *client_addr) {
return INT_MIN; return INT_MIN;
} }
int get_expected_throughput_iwinfo(__uint8_t *client_addr) { int get_expected_throughput_iwinfo(uint8_t *client_addr) {
DIR *dirp; DIR *dirp;
struct dirent *entry; struct dirent *entry;