| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Documentation and some comments were refering to /var/ax25/ax25rtd/-
ax25_routes rsp. /var/ax25/ax25rtd/ip_routes while the actual code was
using ax25_route rsp. ip_route, that is without plural 's'.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Somewhat hard to read and the code base already has many overlong
lines
Found with below spatch files:
@parens@
expression E, F, G;
binary operator X;
statement S;
@@
- if ((E = F) X G)
+ E = F;
+ if (E X G)
S
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
| |
There only is a declaration, no definition.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Making all in ax25rtd
make[2]: Entering directory '/home/ralf/src/ax25/ax25-apps/ax25rtd'
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT cache_ctl.o -MD -MP -MF .deps/cache_ctl.Tpo -c -o cache_ctl.o cache_ctl.c
cache_ctl.c: In function ‘update_ip_route’:
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:53:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:53:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:55:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c:109:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c: In function ‘update_ax25_route’:
cache_ctl.c:133:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
unsigned char *iface = config->dev;
^
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 1 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:141:7: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
if (strcmp(bp->iface, iface)) {
^
cache_ctl.c:141:7: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:142:27: warning: pointer targets in passing argument 1 of ‘del_kernel_ax25_route’ differ in signedness [-Wpointer-sign]
del_kernel_ax25_route(bp->iface,
^
In file included from cache_ctl.c:28:0:
ax25rtd.h:140:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
int del_kernel_ax25_route(char *dev, ax25_address *call);
^
cache_ctl.c:145:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c:145:23: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c:197:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c:197:20: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(bp->iface, iface);
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:129:14: note: expected ‘const char * restrict’ but argument is of type ‘unsigned char *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
cache_ctl.c: In function ‘remove_ip_route’:
cache_ctl.c:231:22: warning: pointer targets in passing argument 1 of ‘del_kernel_ip_route’ differ in signedness [-Wpointer-sign]
del_kernel_ip_route(bp->iface, bp->ip);
^
In file included from cache_ctl.c:28:0:
ax25rtd.h:139:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
int del_kernel_ip_route(char *dev, long ip);
^
cache_ctl.c: In function ‘remove_ax25_route’:
cache_ctl.c:255:24: warning: pointer targets in passing argument 1 of ‘del_kernel_ax25_route’ differ in signedness [-Wpointer-sign]
del_kernel_ax25_route(bp->iface, &bp->call);
^
In file included from cache_ctl.c:28:0:
ax25rtd.h:140:5: note: expected ‘char *’ but argument is of type ‘unsigned char *’
int del_kernel_ax25_route(char *dev, ax25_address *call);
^
cache_ctl.c: In function ‘del_ax25_route’:
cache_ctl.c:297:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:297:10: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
In file included from cache_ctl.c:21:0:
/usr/include/string.h:398:15: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
extern size_t strlen (const char *__s)
^
cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
cache_ctl.c:297:10: warning: pointer targets in passing argument 2 of ‘__builtin_strcmp’ differ in signedness [-Wpointer-sign]
&& !strcmp(config->dev, bp->iface)) {
^
cache_ctl.c:297:10: note: expected ‘const char *’ but argument is of type ‘unsigned char *’
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT cache_dump.o -MD -MP -MF .deps/cache_dump.Tpo -c -o cache_dump.o cache_dump.c
cache_dump.c: In function ‘dump_ip_routes’:
cache_dump.c:48:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
dev = bp->iface;
^
cache_dump.c:51:28: warning: pointer targets in passing argument 1 of ‘dev_get_config’ differ in signedness [-Wpointer-sign]
config = dev_get_config(bp->iface);
^
In file included from cache_dump.c:33:0:
ax25rtd.h:147:10: note: expected ‘char *’ but argument is of type ‘unsigned char *’
config * dev_get_config(char *dev);
^
cache_dump.c:55:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
dev = bp->iface;
^
cache_dump.c: In function ‘dump_ax25_routes’:
cache_dump.c:92:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
dev = bp->iface;
^
cache_dump.c:95:28: warning: pointer targets in passing argument 1 of ‘dev_get_config’ differ in signedness [-Wpointer-sign]
config = dev_get_config(bp->iface);
^
In file included from cache_dump.c:33:0:
ax25rtd.h:147:10: note: expected ‘char *’ but argument is of type ‘unsigned char *’
config * dev_get_config(char *dev);
^
cache_dump.c:99:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
dev = bp->iface;
^
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
config.c: In function ‘interpret_command’:
config.c:554:22: warning: pointer targets in passing argument 1 of ‘prepare_cmdline’ differ in signedness [-Wpointer-sign]
p = prepare_cmdline(buf);
^
config.c:68:7: note: expected ‘char *’ but argument is of type ‘unsigned char *’
char *prepare_cmdline(char *buf)
^
config.c: In function ‘load_cache’:
config.c:687:25: warning: pointer targets in passing argument 2 of ‘interpret_command’ differ in signedness [-Wpointer-sign]
interpret_command(2, buf);
^
config.c:544:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
void interpret_command(int fd, unsigned char *buf)
^
config.c:695:25: warning: pointer targets in passing argument 2 of ‘interpret_command’ differ in signedness [-Wpointer-sign]
interpret_command(2, buf);
^
config.c:544:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’
void interpret_command(int fd, unsigned char *buf)
^
[...]
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_LOCALSTATEDIR=\""/usr/local/var/ax25"\" -g -O2 -Wall -MT ax25rtctl.o -MD -MP -MF .deps/ax25rtctl.Tpo -c -o ax25rtctl.o ax25rtctl.c
ax25rtctl.c: In function ‘main’:
ax25rtctl.c:320:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
len = sprintf(buf, "add ax25");
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:322:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
len += sprintf(buf + len, " %s", argv[k]);
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:323:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(buf + len, "\n");
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:326:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign]
wsock(sock, buf);
^
ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static int wsock(int sock, char *s)
^
ax25rtctl.c:332:18: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
len = sprintf(buf, "add ip");
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:334:20: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
len += sprintf(buf + len, " %s", argv[k]);
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:335:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(buf + len, "\n");
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:338:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign]
wsock(sock, buf);
^
ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static int wsock(int sock, char *s)
^
ax25rtctl.c:348:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(buf, "del ax25 %s %s\n", argv[optind],
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:352:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign]
wsock(sock, buf);
^
ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static int wsock(int sock, char *s)
^
ax25rtctl.c:358:12: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(buf, "del ip %s\n", argv[optind]);
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:361:16: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign]
wsock(sock, buf);
^
ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static int wsock(int sock, char *s)
^
ax25rtctl.c:379:11: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(buf, "expire %ld\n", when);
^
In file included from ax25rtctl.c:20:0:
/usr/include/stdio.h:364:12: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’
extern int sprintf (char *__restrict __s,
^
ax25rtctl.c:380:15: warning: pointer targets in passing argument 2 of ‘wsock’ differ in signedness [-Wpointer-sign]
wsock(sock, buf);
^
ax25rtctl.c:95:12: note: expected ‘char *’ but argument is of type ‘unsigned char *’
static int wsock(int sock, char *s)
^
[...]
make[2]: Leaving directory '/home/ralf/src/ax25/ax25-apps/ax25rtd'
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the automake warnings:
Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ax25ipd/Makefile.am:58: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ax25mond/Makefile.am:46: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
ax25rtd/Makefile.am:89: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
INCLUDES has been deprecated since automake 1.5.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Indentation by tabs only. Move case labels in switches are on the same
level as the switch keyword.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
They only inflate the .data section of the binary. Initializations to
FALSE are still left to do.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
|
|
|
|
| |
gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25"\" -DAX25_ LOCALSTATEDIR=\""/usr/local/var/ax25"\" -O2 -Wall -Wno-pointer-sign -MT list
ener.o -MD -MP -MF .deps/listener.Tpo -c -o listener.o listener.c
listener.c: In function ‘set_route’:
listener.c:232:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress]
listener.c: In function ‘del_kernel_ip_route’:
listener.c:278:6: warning: the address of ‘iproute2_table’ will always evaluate as ‘true’ [-Waddress]
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
Their value has always been dubious and git doesn't support them so let's
get rid of the clutter.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
|
|
|
| |
This may result in docfiles getting installed in ${prefix}/doc/, not
${prefix}/share/doc which is the convention.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
|
|
|
| |
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Since the recent conversion from static to generated man pages some
man pages were generated with a wrong section suffix which was breaking
installation.
Noticed and fixed by Steffen Köhler <sk4@mail.zih.tu-dresden.de>.
|
|
|
|
|
| |
The config files are unaffected; if you need to resolve a name conflict
for the config files, use --sysconfdir=/etc and --localstatedir=/var.
|
|
|
|
|
| |
In a world that is caught between ISO 8859-1, ISO 8859-15 and UTF-8
non-ASCII characters are a guaranteed mess, still.
|
|
|
|
|
|
| |
Glibc as old as 2.2 provides working headers under the right name and
if not libax25 would install headers under the right name so this has
become redundant and ugly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping generated files in CVS doesn't only tend to produce large and
cluttered files it also may result in build problems due to timestamps
in the wrong order. So dump everything, update .cvsignore to ignore
these files and resolve all warnings generated by autoreconf.
From now on users of a CVS checkout should run the command
autoreconf --install --force
after having done a CVS checkout. For this to succeed automake, autoconf
and libtool will have to be installed.
|
|
|
|
|
|
|
|
| |
Various socket syscalls receive a length argument that should be a
socklen_t rsp. a ptr to a socklen_t but instead int rsp. ptr to int were
being passed. While in theory this was a bug it's harmless as dangerously
large values would not be used but the issue manifested itself in a
significant number of compilation warnings.
|
| |
|
| |
|
| |
|
|
|
|
| |
- new feature: advanced routing option
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
users of newer versions of ax25rtd have problems with the
ip-encaps-dev feature (needed only in some environments).
the problem was the implementation of the feature, which results
in the obvious problem that after an upgrade ax25rtd will not learn
any ip-routes and arp's. a secondary problem is, when you have more
than one interface, ip-routes/arp's could be learned only
via _one_ interface.
- config.c:
ip-maxroutes was ignored
- ax25rtd.conf:
s/ax24/ax25/
|
|
|
|
| |
More autobbreak updating nightmares
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Makefile bug
|
| |
|
| |
|
| |
|
|
|