=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/def.h,v retrieving revision 1.25 retrieving revision 1.26 diff -u -r1.25 -r1.26 --- src/usr.bin/mg/def.h 2002/02/13 03:03:49 1.25 +++ src/usr.bin/mg/def.h 2002/02/13 22:36:58 1.26 @@ -1,4 +1,4 @@ -/* $OpenBSD: def.h,v 1.25 2002/02/13 03:03:49 vincent Exp $ */ +/* $OpenBSD: def.h,v 1.26 2002/02/13 22:36:58 vincent Exp $ */ /* * This file is the general header file for all parts @@ -121,11 +121,7 @@ struct LINE *l_bp; /* Link to the previous line */ int l_size; /* Allocated size */ int l_used; /* Used size */ -#ifndef ZEROARRAY - char l_text[1]; /* A bunch of chars. */ -#else - char l_text[]; /* A bunch of chars. */ -#endif + char *l_text; /* Content of the line */ } LINE; /* @@ -318,7 +314,7 @@ /* line.c X */ LINE *lalloc __P((int)); -LINE *lallocx __P((int)); +int lrealloc __P((LINE *, int)); void lfree __P((LINE *)); void lchange __P((int)); int linsert __P((int, int));