summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/shim-eth-llc/CMakeLists.txt2
-rw-r--r--src/ipcpd/shim-eth-llc/main.c3
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);
-
}