summaryrefslogtreecommitdiff
path: root/bsd-snprintf.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-11 12:23:01 +1000
committerDamien Miller <djm@mindrot.org>2000-07-11 12:23:01 +1000
commit168e6ac81c024846eac3b7a36a3a1c4d02ff3e3e (patch)
tree49ade0ab16da5955839e1993a7110f517857a11a /bsd-snprintf.h
parent7a0e5dc9811b6d33aa3f0bfe26af9a1af2884c8c (diff)
downloadopenssh-git-168e6ac81c024846eac3b7a36a3a1c4d02ff3e3e.tar.gz
- (djm) Replaced bsd-snprintf.c with one from Mutt source tree, it is known
to compile on more platforms (incl NeXT).
Diffstat (limited to 'bsd-snprintf.h')
-rw-r--r--bsd-snprintf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bsd-snprintf.h b/bsd-snprintf.h
index 6be2047e..2946c661 100644
--- a/bsd-snprintf.h
+++ b/bsd-snprintf.h
@@ -6,11 +6,11 @@
#include <sys/types.h> /* For size_t */
#ifndef HAVE_SNPRINTF
-int snprintf(char *str, size_t n, char const *fmt, ...);
+int snprintf(char *str, size_t count, const char *fmt, ...)
#endif /* !HAVE_SNPRINTF */
#ifndef HAVE_VSNPRINTF
-int vsnprintf(char *str, size_t n, char *fmt, va_list ap);
+int vsnprintf(char *str, size_t count, const char *fmt, va_list args);
#endif /* !HAVE_SNPRINTF */