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

36 lines
821 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_sendsbr.c,v 1.1 2013/03/28 21:31:26 joerg Exp $
--- uip/sendsbr.c.orig 2013-03-28 18:13:35.000000000 +0000
+++ uip/sendsbr.c
@@ -13,7 +13,9 @@ static char ident[] = "@(#)$Id: sendsbr.
#include <unistd.h>
#endif
-static alert(), anno(), annoaux();
+static alert();
+static void annoaux(int);
+static void anno (int fd, struct stat *st);
static int tmp_fd();
static int sendaux();
#ifdef MIME
@@ -494,9 +496,7 @@ static int tmp_fd () {
/* */
-static anno (fd, st)
-int fd;
-register struct stat *st;
+static void anno (int fd, struct stat *st)
{
int child_id;
TYPESIG (*hstat) (), (*istat) (), (*qstat) (), (*tstat) ();
@@ -548,8 +548,7 @@ register struct stat *st;
/* */
-static annoaux (fd)
-int fd;
+static void annoaux (int fd)
{
int fd2,
fd3,