diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 11:32:49 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-01-31 11:32:49 +0100 |
commit | 1de0ea4abd7153c6fcdbdbac6048a1e46f673fc2 (patch) | |
tree | c81a8d6c58fcee19cead9cce8122ec35342428b1 /ax25rtd/listener.c | |
parent | aa1bfde879f3c5885199d7bb4720efaabff67d8c (diff) |
Sort out variable and function declarations.
- Make static what can be made static.
- Add declaration where they were missing.
- Don't define variables in headers.
- Move declaations to the proper locations.
- Pick up declarations from the proper headers.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd/listener.c')
-rw-r--r-- | ax25rtd/listener.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ax25rtd/listener.c b/ax25rtd/listener.c index 47431a2..1d9aa1f 100644 --- a/ax25rtd/listener.c +++ b/ax25rtd/listener.c @@ -169,7 +169,7 @@ int set_arp(config * config, long ip, ax25_address * call) */ #define RT_DEL 0 #define RT_ADD 1 -int iproute2(long ip, char *dev, int what) +static int iproute2(long ip, char *dev, int what) { char buffer[256]; char ipa[32]; |