libiproute: style fixes, and using smallint as appropriate

function                                             old     new   delta
print_route                                         1730    1731      +1
print_addrinfo                                      1497    1498      +1
iproute_list_or_flush                               1232    1229      -3
ipaddr_list_or_flush                                2490    2484      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/2 up/down: 2/-9)               Total: -7 bytes
This commit is contained in:
Denis Vlasenko
2008-05-31 07:33:18 +00:00
parent 8f74094548
commit 3e57adb731
3 changed files with 24 additions and 26 deletions

View File

@@ -32,8 +32,7 @@ extern void incomplete_command(void) ATTRIBUTE_NORETURN;
#define NEXT_ARG() do { if (!*++argv) incomplete_command(); } while (0)
typedef struct
{
typedef struct {
uint8_t family;
uint8_t bytelen;
int16_t bitlen;