openbsd-ports/devel/gputils/patches/patch-gputils_dump_h

12 lines
418 B
Plaintext

$OpenBSD: patch-gputils_dump_h,v 1.1 2004/01/14 22:19:29 naddy Exp $
--- gputils/dump.h.orig 2003-10-19 22:12:20.000000000 +1000
+++ gputils/dump.h 2003-10-19 22:12:49.000000000 +1000
@@ -33,6 +33,6 @@ void dump_message_area(void);
void dump_local_vars(void);
unsigned short get_short_int( char * buff);
-char *substr(char *a, char *b, int n);
+char *substr(char *a, size_t sizeof_a, char *b, size_t n);
#endif