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 /src/ipcpd/shim-eth-llc/main.c | |
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]>
Diffstat (limited to 'src/ipcpd/shim-eth-llc/main.c')
-rw-r--r-- | src/ipcpd/shim-eth-llc/main.c | 3 |
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); - } |