diff options
author | des <des@FreeBSD.org> | 2011-10-08 09:57:29 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2011-10-08 09:57:29 +0000 |
commit | db03f845e19d2200d2762e8e1cc8bad430a3fe21 (patch) | |
tree | 507ee9a9b241856f4c98e2920f65ed6c4cced65c /usr.bin/kdump/kdump.c | |
parent | 2e76e4f6aab6b13ff61794f76a85325c2588cbaa (diff) | |
download | FreeBSD-src-db03f845e19d2200d2762e8e1cc8bad430a3fe21.zip FreeBSD-src-db03f845e19d2200d2762e8e1cc8bad430a3fe21.tar.gz |
1) Some of the #defines or enums for which we auto-generate naming
functions may be wider than int, so use intmax_t throughout. Also
add missing casts in printf() calls.
2) Clean up some of the auto-generated code to improve readability.
3) Auto-generate kdump_subr.h. Note that this requires a semi-ugly hack
in the Makefile to make sure it is generated before make(1) tries to
build kdump.c, or preprocess it for 'make depend'.
MFC after: 3 weeks
Diffstat (limited to 'usr.bin/kdump/kdump.c')
-rw-r--r-- | usr.bin/kdump/kdump.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 1c3807c..7d99c1c 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -100,7 +100,6 @@ void ktrsockaddr(struct sockaddr *); void ktrstat(struct stat *); void ktrstruct(char *, size_t); void usage(void); -void sockfamilyname(int); const char *ioctlname(u_long); int timestamp, decimal, fancy = 1, suppressdata, tail, threads, maxdata, |