diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:11:56 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2017-07-26 00:16:07 +0200 |
commit | 02450385adc79578ac67c8ebb6d4417df69377b1 (patch) | |
tree | d425df9f5865f66423b3491433ffca4e307973d2 /ax25ipd/process.c | |
parent | 11fff636f92341a2f73b3fd3868c7f95da625df9 (diff) |
ax25ipd: Cleanup header file inclusion.
We were including way too many system header files, some even multiple
times and it wasn't immediately visible. Clean this.
This also drops the definitions of __USE_XOPEN which never had the desired
effect with glibc.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25ipd/process.c')
-rw-r--r-- | ax25ipd/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ax25ipd/process.c b/ax25ipd/process.c index 97faabb..098efc8 100644 --- a/ax25ipd/process.c +++ b/ax25ipd/process.c @@ -12,9 +12,12 @@ * Dual port additions by M.Durrant VE3PNX and D.J.Dionne Feb 4, 1995 */ -#include "ax25ipd.h" #include <stdio.h> +#include <string.h> #include <syslog.h> + +#include "ax25ipd.h" + /* if dual port the upper nibble will have a value of 1 (not 0) */ #define FROM_PORT2(p) (((*(p+1))&0x10)!=0) #define FOR_PORT2(p) (addrmatch(p,mycallsign2) || addrmatch(p,myalias2)) |