diff options
author | luigi <luigi@FreeBSD.org> | 2010-04-19 15:11:45 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2010-04-19 15:11:45 +0000 |
commit | 063c00f467c27760c023e7f170a99f4597aa1530 (patch) | |
tree | d9f866005d7425f44adb9222a2ba4daa870e56aa /sbin/ipfw/ipfw2.h | |
parent | 9e69ae693d6fdbdb4278ec49ab30c64f73954d40 (diff) | |
download | FreeBSD-src-063c00f467c27760c023e7f170a99f4597aa1530.zip FreeBSD-src-063c00f467c27760c023e7f170a99f4597aa1530.tar.gz |
Slightly different handling of printf/snprintf for unaligned uint64_t,
which should improve readability, and also to ease the port to
platforms that do not support %llu
MFC after: 3 days
Diffstat (limited to 'sbin/ipfw/ipfw2.h')
-rw-r--r-- | sbin/ipfw/ipfw2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.h b/sbin/ipfw/ipfw2.h index d172984..8566cde 100644 --- a/sbin/ipfw/ipfw2.h +++ b/sbin/ipfw/ipfw2.h @@ -207,7 +207,7 @@ enum tokens { #define NEED(_p, msg) {if (!_p) errx(EX_USAGE, msg);} #define NEED1(msg) {if (!(*av)) errx(EX_USAGE, msg);} -unsigned long long align_uint64(const uint64_t *pll); +int pr_u64(uint64_t *pd, int width); /* memory allocation support */ void *safe_calloc(size_t number, size_t size); |