summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2003-10-27 11:21:13 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2003-10-27 11:21:13 +0000
commit999b065f9ebbc179d82c564a22f1f0fd4e8f1804 (patch)
treeb91c56265b8de6bc334243502eaee36fcecf0161 /usr.bin/mg/def.h
parentcb48f9d51463dff7978fe45bea2b306a53c09628 (diff)
fix crash on startup by using the good allocation routine in edinit()
spotted and ok by henning
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 6bf7e5059b0..2e285760397 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.49 2003/10/21 22:48:07 vincent Exp $ */
+/* $OpenBSD: def.h,v 1.50 2003/10/27 11:21:12 vincent Exp $ */
#include <sys/queue.h>
@@ -360,6 +360,8 @@ int kinsert(int, int);
int kremove(int);
/* window.c X */
+MGWIN *new_window(BUFFER *);
+void free_window(MGWIN *);
int reposition(int, int);
int refresh(int, int);
int nextwind(int, int);