diff options
author | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-10-27 11:21:13 +0000 |
---|---|---|
committer | Vincent Labrecque <vincent@cvs.openbsd.org> | 2003-10-27 11:21:13 +0000 |
commit | 999b065f9ebbc179d82c564a22f1f0fd4e8f1804 (patch) | |
tree | b91c56265b8de6bc334243502eaee36fcecf0161 /usr.bin/mg/def.h | |
parent | cb48f9d51463dff7978fe45bea2b306a53c09628 (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.h | 4 |
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); |