diff options
author | steve <steve@FreeBSD.org> | 1999-09-20 01:51:41 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-09-20 01:51:41 +0000 |
commit | c8b9114bc149de9e0156658fb22765a9bc699cca (patch) | |
tree | 751b2c05b0161b0f53c91fa31c87c79925e10097 /sysutils | |
parent | a7b0ce5a68e0327b27cd5a7a725cf41fd60a0a05 (diff) | |
download | FreeBSD-ports-c8b9114bc149de9e0156658fb22765a9bc699cca.zip FreeBSD-ports-c8b9114bc149de9e0156658fb22765a9bc699cca.tar.gz |
The second to arg to snprintf(3) is of type size_t.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/sdd/files/patch-ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/sdd/files/patch-ac b/sysutils/sdd/files/patch-ac new file mode 100644 index 0000000..b19d5ff --- /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 <sys/types.h> ++ + #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 *)); |