openbsd-ports/mail/hypermail/patches/patch-src_parse_c
2001-05-23 02:58:52 +00:00

29 lines
603 B
Plaintext

$OpenBSD: patch-src_parse_c,v 1.1 2001/05/23 02:58:54 form Exp $
--- src/parse.c.orig Wed May 23 09:27:09 2001
+++ src/parse.c Wed May 23 09:28:03 2001
@@ -43,7 +43,7 @@
#include <sys/dir.h>
#endif
-extern char *mktemp(char *);
+/* extern char *mktemp(char *); */
typedef enum {
ENCODE_NORMAL,
@@ -241,6 +241,7 @@ void print_progress(int num, char *msg,
fflush(stdout);
}
+#if 0
char *tmpname(char *dir, char *pfx)
{
char *f, *name;
@@ -257,6 +258,7 @@ char *tmpname(char *dir, char *pfx)
free(name);
return (NULL);
}
+#endif
char *safe_filename(char *name)
{