summaryrefslogtreecommitdiff
path: root/mail/pgpsendmail/files/patch-pgppipe.c
blob: b5b8332607245aff3b265dcfebc8449b3365a6aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- pgppipe.c.orig	1994-12-07 20:03:39.000000000 +0900
+++ pgppipe.c	2012-10-24 16:20:24.000000000 +0900
@@ -52,7 +52,7 @@
 #include "pgpsendmail.h"
 
 
-void main (argc, argv, envp)
+int main (argc, argv, envp)
 int argc;
 char *argv[];
 char *envp[];
@@ -67,7 +67,9 @@
     char *pgp_start_line = "-----BEGIN PGP MESSAGE-----\n";
     char *pgp_end_line = "-----END PGP MESSAGE-----\n";
     ERRNO_TYPE errno;
+#if 0
     extern char *sys_errlist[];
+#endif
 
     if ( ( pgppath = getenv ("PGPPATH") ) == NULL )
     {