summaryrefslogtreecommitdiff
path: root/mail/metamail/patches/patch-ar
blob: 986eacc1b46b7f8f00dc2a96503db77f759d7e56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
$NetBSD: patch-ar,v 1.1 2006/01/19 10:55:30 tron Exp $

--- richmail/richtext.c.orig	1994-02-09 16:31:18.000000000 +0000
+++ richmail/richtext.c	2006-01-19 10:51:42.000000000 +0000
@@ -16,6 +16,8 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <signal.h>
+#include <stdlib.h>
+#include <string.h>
 #include "richlex.h"
 #include "richset.h"
 #include <config.h>
@@ -79,6 +81,8 @@
 extern tputs();
 #endif
 
+static int lc2strcmp(char *s1, char *s2);
+
 static outputc(), realoutputc(), MakeWorkingMargins(), Pause(), fputsmovingright(), ResetTerminalCodes(), FinalizeTerminal(), outputstr(), FPUTS();
 
 #define	OUTC(c)		(outputc((RCHAR)(c)))
@@ -989,7 +993,7 @@
     while(*s) (*RichtextPutc)((int)(*s++),fp);
 }
 
-static lc2strcmp(s1, s2)
+static int lc2strcmp(s1, s2)
 char *s1, *s2;
 {
     if (!s1 || !s2) return (-1);