diff options
Diffstat (limited to 'mail/ja-mh/patches/patch-bq')
-rw-r--r-- | mail/ja-mh/patches/patch-bq | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/mail/ja-mh/patches/patch-bq b/mail/ja-mh/patches/patch-bq index 1581a23f074..e15b36f4a89 100644 --- a/mail/ja-mh/patches/patch-bq +++ b/mail/ja-mh/patches/patch-bq @@ -1,4 +1,4 @@ -$NetBSD: patch-bq,v 1.2 2010/09/27 12:01:49 taca Exp $ +$NetBSD: patch-bq,v 1.3 2013/02/26 11:07:26 joerg Exp $ * Use standard strdup(3). @@ -21,15 +21,29 @@ $NetBSD: patch-bq,v 1.2 2010/09/27 12:01:49 taca Exp $ #ifdef notdef extern char *sprintf(); /* rely on stdio.h to declare this */ #endif -@@ -268,7 +269,7 @@ static struct pair { +@@ -266,9 +267,10 @@ static struct pair { + + static do_sed(), do_sedfile(), do_files(), do_doc(), do_make(); - static shell(), arginit(), add_option(), trim(); +-static shell(), arginit(), add_option(), trim(); ++static shell(), arginit(), add_option(); ++static void trim(char *); -static char *stradd (), *strdup (), *tail (); +static char *stradd (), *tail (); /* */ +@@ -959,8 +961,7 @@ end_myopt () { + + /* */ + +-static trim (s) +-char *s; ++static void trim(char *s) + { + char *p; + @@ -1002,7 +1003,7 @@ char *s1, return p; } |