pkgsrc/mail/ja-mh/patches/patch-uip_conflict.c
2013-03-28 21:31:25 +00:00

34 lines
631 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

$NetBSD: patch-uip_conflict.c,v 1.1 2013/03/28 21:31:26 joerg Exp $
--- uip/conflict.c.orig 2013-03-28 18:42:59.000000000 +0000
+++ uip/conflict.c
@@ -23,6 +23,10 @@ static char ident[] = "@(#)$Id: conflict
#define NDIRS 100
#define NGRPS 100
+void setup (void);
+
+static void mdrop(char *drop);
+
/* */
static struct swit switches[] = {
@@ -299,8 +303,7 @@ maildrops ()
}
-mdrop(drop)
-register char *drop;
+static void mdrop(char *drop)
{
register int hit = 0;
#ifdef SYS5DIR
@@ -346,7 +349,7 @@ register char *s;
/* */
-setup () {
+void setup (void) {
int fd,
pd[2];