- add platform.h.

- use shorter boilerplate while at it.
This commit is contained in:
Bernhard Reutner-Fischer
2006-01-22 22:55:11 +00:00
parent 2edf52643d
commit 86f5c9906b
30 changed files with 182 additions and 264 deletions

View File

@ -63,7 +63,7 @@ static int flush_update(void)
return 0;
}
static int print_route(struct sockaddr_nl *who __attribute__((unused)),
static int print_route(struct sockaddr_nl *who ATTRIBUTE_UNUSED,
struct nlmsghdr *n, void *arg)
{
FILE *fp = (FILE*)arg;