diff options
author | Damien Miller <djm@mindrot.org> | 2000-07-11 12:23:01 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-07-11 12:23:01 +1000 |
commit | 168e6ac81c024846eac3b7a36a3a1c4d02ff3e3e (patch) | |
tree | 49ade0ab16da5955839e1993a7110f517857a11a /bsd-snprintf.h | |
parent | 7a0e5dc9811b6d33aa3f0bfe26af9a1af2884c8c (diff) | |
download | openssh-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.h | 4 |
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 */ |