# Makefile for elle
-# XXX: Can only be built with ACK currently
-CC:=${CC:C/^gcc/cc/}
-COMPILER_TYPE:=ack
-
PROGS= ellec elle
SRCS.elle= eemain.c eecmds.c eesite.c eevini.c eedisp.c eeterm.c eeerr.c \
eeques.c eebuff.c eefile.c eefed.c eeedit.c eebit.c eef1.c \
#include "elle.h"
+static void moveborder(int);
+
#if FX_NEWWIN
/* EFUN: "New Window" */
/* EFUN: "Move to Window Top" (not EMACS) - from IMAGEN config */
f_mvwtop()
{
- extern moveborder();
moveborder(1);
}
#endif /*FX_MVWTOP*/
/* EFUN: "Move to Window Bottom" (not EMACS) - from IMAGEN config */
f_mvwbot()
{
- extern moveborder();
moveborder(0);
}
#endif /*FX_MVWBOT*/
#endif /* FX_SC%%WIND */
#if FX_MVWTOP || FX_MVWBOT /* Guts for above two functions */
-static
+static void
moveborder(top)
int top;
{
redp(RD_SCREEN|RD_MODE); /* Done, redisplay */
}
\f
+
+#if 0
/* Miscellaneous utility routines - memory alloc/free and string hacking.
* If this page becomes overly large, it can be split off into a separate
* file called E_MISC.
{ char *strcpy();
return(strcpy(memalloc((SBMO)(strlen(s)+1)), s));
}
+#endif
char *
memalloc(size)
_PROTOTYPE( int f_retsup, (void) );
_PROTOTYPE( int f_wfexit, (void) );
_PROTOTYPE( int f_pshinf, (void) );
-_PROTOTYPE( char *strdup, (char *s) );
_PROTOTYPE( char *memalloc, (SBMO size) );
_PROTOTYPE( int chkfree, (SBMA ptr) );
_PROTOTYPE( int ustrcmp, (char *str1, char *str2) );