diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-13 07:03:37 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 1998-10-13 07:03:37 +0000 |
commit | ff5d6349732bae1dcd5feddba8a0763031aacbcf (patch) | |
tree | 1bcdb1dc35bf75e65d5d8a1587d105e74a4cfc1e /snprintf.c | |
parent | 97902ca2a97f173c3ab0c8ae9fb3f14b994c19e0 (diff) |
Squelch a number of "-Wall" errors by:
1) renaming "snprintf.h" to "snprintf-imp.h" (it contains stuff
used by the "snprintf()" *implementation*, but not stuff it
*exports*);
2) creating a new "snprintf.h" to declare "vsnprintf()" and
"snprintf()";
3) removing an unused variable;
4) fixing a call to "add_item_to_tree()" to handle the
possibility of "ntohl()" returning a "long" rather than an
"int".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@47 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'snprintf.c')
-rw-r--r-- | snprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/snprintf.c b/snprintf.c index f131ca4dfb..64ade9d517 100644 --- a/snprintf.c +++ b/snprintf.c @@ -44,6 +44,7 @@ # include <config.h> #endif +#include "snprintf-imp.h" #include "snprintf.h" /* |