summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-23 21:42:35 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-23 21:42:35 +0000
commitdb02ab404a4cdaa13e691b2ced6a31cd0fb4822d (patch)
tree86ad6a8abcfe54507b141de5c7f410c0bcbf26ab
parent31c593266c17de0d805014ad463bfee2d43cd5cb (diff)
export free_file_list. XXX - it doesn't belong in echo.c and it's the wrong name.
-rw-r--r--usr.bin/mg/def.h3
-rw-r--r--usr.bin/mg/echo.c5
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 7c76b8067a0..94ea7616343 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.13 2001/05/23 16:26:39 art Exp $ */
+/* $OpenBSD: def.h,v 1.14 2001/05/23 21:42:34 art Exp $ */
/*
* This file is the general header file for all parts
@@ -391,6 +391,7 @@ VOID ewprintf __P((const char *fmt, ...));
int ereply __P((const char *, char *, int, ...));
int eread __P((const char *, char *, int, int, ...));
int getxtra __P((LIST *, LIST *, int, int));
+VOID free_file_list __P((LIST *));
/* fileio.c */
int ffropen __P((char *, BUFFER *));
diff --git a/usr.bin/mg/echo.c b/usr.bin/mg/echo.c
index 0d79fa655c7..51f5518c181 100644
--- a/usr.bin/mg/echo.c
+++ b/usr.bin/mg/echo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: echo.c,v 1.7 2001/05/23 20:49:53 art Exp $ */
+/* $OpenBSD: echo.c,v 1.8 2001/05/23 21:42:34 art Exp $ */
/*
* Echo line reading and writing.
@@ -27,7 +27,6 @@ static VOID eputi __P((int, int));
static VOID eputl __P((long, int));
static VOID eputs __P((char *));
static VOID eputc __P((char));
-static VOID free_file_list __P((LIST *));
static LIST *copy_list __P((LIST *));
int epresf = FALSE; /* stuff in echo line flag */
@@ -789,7 +788,7 @@ eputc(c)
}
}
-static VOID
+VOID
free_file_list(lp)
LIST *lp;
{