diff options
author | Guy Harris <guy@alum.mit.edu> | 1998-10-13 07:03:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1998-10-13 07:03:37 +0000 |
commit | d0b809aa7421d0b6c265084a51cbf9fdc9159b8b (patch) | |
tree | 1bcdb1dc35bf75e65d5d8a1587d105e74a4cfc1e /snprintf.c | |
parent | d9850d803f8a4c155bd919f5ca7a991bd8e0e8c9 (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".
svn path=/trunk/; revision=47
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" /* |