diff options
author | Dimitri Staessens <[email protected]> | 2017-12-15 19:08:02 +0100 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2017-12-17 13:21:14 +0100 |
commit | 40348f65699706188c4f4ab15103789a9b559aa0 (patch) | |
tree | 05c0380fd45e5a4cb5d568e3445347418aab6dab | |
parent | 3d024b8f3b8a2a1abbaeabafa8377ac49f24b32a (diff) | |
download | ouroboros-40348f65699706188c4f4ab15103789a9b559aa0.tar.gz ouroboros-40348f65699706188c4f4ab15103789a9b559aa0.zip |
ipcpd: Define eth_llc_data_fini as static
The eth_llc_data_fini function should be statically defined. Also
fixes some indentation in the CMakeLists.txt file.
Signed-off-by: Dimitri Staessens <[email protected]>
Signed-off-by: Sander Vrijders <[email protected]>
-rw-r--r-- | src/ipcpd/shim-eth-llc/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/ipcpd/shim-eth-llc/main.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/ipcpd/shim-eth-llc/CMakeLists.txt b/src/ipcpd/shim-eth-llc/CMakeLists.txt index b1d2196c..e1eea2b5 100644 --- a/src/ipcpd/shim-eth-llc/CMakeLists.txt +++ b/src/ipcpd/shim-eth-llc/CMakeLists.txt @@ -43,7 +43,7 @@ if (NOT CMAKE_SYSTEM_NAME STREQUAL "Linux") if (BPF_C_INCLUDE_DIR) set(DISABLE_BPF FALSE CACHE BOOL - "Disable Berkeley Packet Filter support for LLC shim") + "Disable Berkeley Packet Filter support for LLC shim") if (NOT DISABLE_BPF) message(STATUS "Berkeley Packet Filter support " "for shim-eth-llc enabled") diff --git a/src/ipcpd/shim-eth-llc/main.c b/src/ipcpd/shim-eth-llc/main.c index c27e42d3..3fec7c3d 100644 --- a/src/ipcpd/shim-eth-llc/main.c +++ b/src/ipcpd/shim-eth-llc/main.c @@ -266,7 +266,7 @@ static int eth_llc_data_init(void) return ret; } -void eth_llc_data_fini(void) +static void eth_llc_data_fini(void) { #if defined(HAVE_NETMAP) nm_close(eth_llc_data.nmd); @@ -1417,5 +1417,4 @@ int main(int argc, fail_init: ipcp_create_r(getpid(), -1); exit(EXIT_FAILURE); - } |