9ed59b1d46
- LP64 and other portability issues - Find the correct <kafs.h> in order to get the right prototype for kafs_settoken_rxkad. - Find the correct <com_err.h> - Add support for -DMULTIPROCESSOR and other kernel compile options Bump PKGREVISION.
23 lines
809 B
Text
23 lines
809 B
Text
$NetBSD: patch-az,v 1.3 2005/03/25 17:40:25 wennmach Exp $
|
|
|
|
Provide prototypes for the test_... functions.
|
|
|
|
--- lib/roken/snprintf-test.h.orig 2005-03-22 10:03:03.000000000 +0100
|
|
+++ lib/roken/snprintf-test.h 2005-03-22 10:09:16.000000000 +0100
|
|
@@ -49,4 +49,16 @@
|
|
#define vasnprintf test_vasnprintf
|
|
#define vsnprintf test_vsnprintf
|
|
|
|
+/* provide prototypes for the test_... functions */
|
|
+
|
|
+#include <sys/types.h>
|
|
+#include <stdarg.h>
|
|
+
|
|
+int test_snprintf(char *, size_t, const char *, ...);
|
|
+int test_asprintf(char **, const char *, ...);
|
|
+int test_asnprintf(char **, size_t, const char *, ...);
|
|
+int test_vasprintf(char **, const char *, va_list);
|
|
+int test_vasnprintf(char **, size_t, const char *, va_list);
|
|
+int test_vsnprintf(char *, size_t, const char *, va_list);
|
|
+
|
|
#endif /* __SNPRINTF_TEST_H__ */
|