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

36 lines
824 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_slocal.c,v 1.1 2013/03/28 21:31:26 joerg Exp $
--- uip/slocal.c.orig 2013-03-28 18:56:29.000000000 +0000
+++ uip/slocal.c
@@ -211,7 +211,9 @@ struct passwd *getpwnam ();
#endif
static int localmail(), usr_delivery(), split(), parse(), logged_in();
static int timely(), usr_file(), usr_pipe(), copyfile();
-static expand(), glob(), copyinfo();
+static expand();
+static void glob (int fd);
+static void copyinfo (FILE *fp, char *from);
/* */
@@ -893,8 +895,7 @@ int fd;
/* */
-static glob (fd)
-register int fd;
+static void glob (int fd)
{
char buffer[BUFSIZ];
struct stat st;
@@ -1238,9 +1239,7 @@ int i;
/* */
-static copyinfo (fp, from)
-register FILE *fp;
-char *from;
+static void copyinfo (FILE *fp, char *from)
{
int i;
register char *cp;