From 40348f65699706188c4f4ab15103789a9b559aa0 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Fri, 15 Dec 2017 19:08:02 +0100 Subject: 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 Signed-off-by: Sander Vrijders --- src/ipcpd/shim-eth-llc/CMakeLists.txt | 2 +- src/ipcpd/shim-eth-llc/main.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ipcpd/shim-eth-llc') 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); - } -- cgit v1.2.3