summaryrefslogtreecommitdiffstats
path: root/sbin/ipfw/ipfw2.h
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-04-19 15:11:45 +0000
committerluigi <luigi@FreeBSD.org>2010-04-19 15:11:45 +0000
commit063c00f467c27760c023e7f170a99f4597aa1530 (patch)
treed9f866005d7425f44adb9222a2ba4daa870e56aa /sbin/ipfw/ipfw2.h
parent9e69ae693d6fdbdb4278ec49ab30c64f73954d40 (diff)
downloadFreeBSD-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.h2
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);
OpenPOWER on IntegriCloud