summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc/main.c
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri.staessens@ugent.be>2017-12-15 19:08:02 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-12-17 13:21:14 +0100
commit40348f65699706188c4f4ab15103789a9b559aa0 (patch)
tree05c0380fd45e5a4cb5d568e3445347418aab6dab /src/ipcpd/shim-eth-llc/main.c
parent3d024b8f3b8a2a1abbaeabafa8377ac49f24b32a (diff)
downloadouroboros-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 <dimitri.staessens@ugent.be> Signed-off-by: Sander Vrijders <sander.vrijders@ugent.be>
Diffstat (limited to 'src/ipcpd/shim-eth-llc/main.c')
-rw-r--r--src/ipcpd/shim-eth-llc/main.c3
1 files changed, 1 insertions, 2 deletions
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);
-
}