From 8e010bac8a84812221bd8c5abbea46a624685ee8 Mon Sep 17 00:00:00 2001 From: Sukru Senli <sukru.senli@inteno.se> Date: Tue, 7 Nov 2017 16:36:39 +0100 Subject: [PATCH] use uint8_t instead of u_int8_t --- mac_ethernet.c | 2 +- mac_ethernet.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mac_ethernet.c b/mac_ethernet.c index d07b698..35b8f50 100644 --- a/mac_ethernet.c +++ b/mac_ethernet.c @@ -32,7 +32,7 @@ #include <uci.h> char *ownMacAddress = NULL; -u_int8_t l2loop_discovery_frame[100] = {0}; +uint8_t l2loop_discovery_frame[100] = {0}; typedef struct eth_status { int sts; diff --git a/mac_ethernet.h b/mac_ethernet.h index 6461ac5..c07350c 100644 --- a/mac_ethernet.h +++ b/mac_ethernet.h @@ -2,7 +2,7 @@ #define SRC_MAC_ETHERNET_H_ extern char *ownMacAddress; -extern u_int8_t l2loop_discovery_frame[100]; +extern uint8_t l2loop_discovery_frame[100]; int ethernetDeviceUpDown(char *, char*); int findOwnMacAddress(void); -- GitLab