]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/commitdiff
Add static declarations to some Ethernet driver functions
authorMartin Vajnar <martin.vajnar@gmail.com>
Wed, 23 Sep 2015 07:58:52 +0000 (09:58 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 5 Nov 2015 13:33:02 +0000 (14:33 +0100)
rpp/include/rpp/eth.h
rpp/src/rpp/eth.c

index 0acb0aa518c5cd25b601bdd57b87830f3d4af099..d38b6f2dff5c511b99cbcc49ebbb55d3bea19e0b 100644 (file)
@@ -207,7 +207,7 @@ err_t rpp_eth_send(struct netif *netif, struct pbuf *p);
  * @param netif lwIP network interface describing struct
  * @param p buffer for data to be sent
  */
-err_t rpp_eth_send_raw(struct netif *netif, struct pbuf *p);
+static err_t rpp_eth_send_raw(struct netif *netif, struct pbuf *p);
 
 /**
  * Receives raw data and sends them upward to lwIP stack.
index 6eb21b0603ab60b5abd93551e8482d6d293f0413..118c06a30c627e85b112b89e84f67bba0891f117 100644 (file)
@@ -243,13 +243,13 @@ err_t rpp_eth_lwip_init(struct netif *netif);
  * @return SUCCESS if initialization successful.\n
  *         FAILURE if initialization not successful.
  */
-err_t rpp_eth_hw_init(struct hdkif *hdkif);
+static err_t rpp_eth_hw_init(struct hdkif *hdkif);
 
 /*
  * Initializes hw, after lwIP was initialized and
  * OS was initialized in case OS is used.
  */
-err_t rpp_eth_hw_init_postInit(struct netif *netif);
+static err_t rpp_eth_hw_init_postInit(struct netif *netif);
 
 /***** utility functions **********************************************/