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) |
- (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 6be2047e1..2946c6613 100644 --- a/bsd-snprintf.h +++ b/bsd-snprintf.h | |||
@@ -6,11 +6,11 @@ | |||
6 | #include <sys/types.h> /* For size_t */ | 6 | #include <sys/types.h> /* For size_t */ |
7 | 7 | ||
8 | #ifndef HAVE_SNPRINTF | 8 | #ifndef HAVE_SNPRINTF |
9 | int snprintf(char *str, size_t n, char const *fmt, ...); | 9 | int snprintf(char *str, size_t count, const char *fmt, ...) |
10 | #endif /* !HAVE_SNPRINTF */ | 10 | #endif /* !HAVE_SNPRINTF */ |
11 | 11 | ||
12 | #ifndef HAVE_VSNPRINTF | 12 | #ifndef HAVE_VSNPRINTF |
13 | int vsnprintf(char *str, size_t n, char *fmt, va_list ap); | 13 | int vsnprintf(char *str, size_t count, const char *fmt, va_list args); |
14 | #endif /* !HAVE_SNPRINTF */ | 14 | #endif /* !HAVE_SNPRINTF */ |
15 | 15 | ||
16 | 16 | ||