diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-28 16:09:19 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2006-07-28 16:09:19 +0000 |
commit | 7b95a1ebbd9aafe9f196a75d95c7b06eaee999a1 (patch) | |
tree | a96eb543030e3d44f3753ab7e82506f8d20fb99b /usr.bin/netstat/main.c | |
parent | 6e0d07070977eff5c086330c76e38a1e693cf322 (diff) | |
download | src-7b95a1ebbd9aafe9f196a75d95c7b06eaee999a1.tar.gz src-7b95a1ebbd9aafe9f196a75d95c7b06eaee999a1.zip |
Notes
Diffstat (limited to 'usr.bin/netstat/main.c')
-rw-r--r-- | usr.bin/netstat/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/main.c b/usr.bin/netstat/main.c index 9861d6e6a92c..a2cd7e2730a7 100644 --- a/usr.bin/netstat/main.c +++ b/usr.bin/netstat/main.c @@ -63,6 +63,7 @@ __FBSDID("$FreeBSD$"); #include <netdb.h> #include <nlist.h> #include <paths.h> +#include <stdint.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -273,7 +274,6 @@ struct protox *protoprotox[] = { #endif atalkprotox, NULL }; -const char *pluralies(int); static void printproto(struct protox *, const char *); static void usage(void); static struct protox *name2protox(char *); @@ -657,19 +657,19 @@ kread(u_long addr, char *buf, int size) } const char * -plural(int n) +plural(uintmax_t n) { return (n != 1 ? "s" : ""); } const char * -plurales(int n) +plurales(uintmax_t n) { return (n != 1 ? "es" : ""); } const char * -pluralies(int n) +pluralies(uintmax_t n) { return (n != 1 ? "ies" : "y"); } |