From e81267d8c7d86cd17855b2beeac2a18be2452658 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 20 Sep 1999 01:51:41 +0000 Subject: The second to arg to snprintf(3) is of type size_t. --- sysutils/sdd/files/patch-ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sysutils/sdd/files/patch-ac (limited to 'sysutils') diff --git a/sysutils/sdd/files/patch-ac b/sysutils/sdd/files/patch-ac new file mode 100644 index 000000000000..b19d5ff6da92 --- /dev/null +++ b/sysutils/sdd/files/patch-ac @@ -0,0 +1,20 @@ +--- include/standard.h.orig Sun Sep 19 19:12:55 1999 ++++ include/standard.h Sun Sep 19 19:14:12 1999 +@@ -23,6 +23,8 @@ + #ifndef _STANDARD_H + #define _STANDARD_H + ++#include ++ + #ifdef M68000 + # ifndef tos + # define JOS 1 +@@ -182,7 +184,7 @@ + extern int wait_chld __PR((int)); + extern int geterrno __PR((void)); + extern void raisecond __PR((const char *, long)); +-extern int snprintf __PR((char *, unsigned, const char *, ...)); ++extern int snprintf __PR((char *, size_t, const char *, ...)); + /*extern int sprintf __PR((char *, const char *, ...)); ist woanders falsch deklariert !!!*/ + extern char *strcatl __PR((char *, ...)); + extern int streql __PR((const char *, const char *)); -- cgit v1.2.3