From c224fc199c25dd257673c273eb344786b9bf532c Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Sat, 7 Sep 1996 21:40:33 +0000 Subject: Initial import of vim 4.2. This is meant to replace nvi in the tree. Vim, in general, works better, provides more features, and does not suffer from the license problems being imposed upon nvi. On the other hand, vim lacks a non-visual ex mode, in addition to open mode. This includes the GUI (X11) code, but doesn't try to compile it. --- usr.bin/vim/proto.h | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) create mode 100644 usr.bin/vim/proto.h (limited to 'usr.bin/vim/proto.h') diff --git a/usr.bin/vim/proto.h b/usr.bin/vim/proto.h new file mode 100644 index 00000000000..c6ada3b09ed --- /dev/null +++ b/usr.bin/vim/proto.h @@ -0,0 +1,105 @@ +/* $OpenBSD: proto.h,v 1.1 1996/09/07 21:40:27 downsj Exp $ */ +/* vi:set ts=4 sw=4: + * + * VIM - Vi IMproved by Bram Moolenaar + * + * Do ":help uganda" in Vim to read copying and usage conditions. + * Do ":help credits" in Vim to see a list of people who contributed. + */ + +/* + * proto.h: include the (automatically generated) function prototypes + * + * the proto/xxx.pro files are automatically generated when using Manx/Aztec C. + * For other compilers you will have to edit them. + */ + +#include "regexp.h" /* for struct regexp */ + +/* + * don't include these while generating prototypes, prevents problems when + * files are missing + */ +#ifndef PROTO + +/* + * Machine-dependent routines. + */ +# ifdef AMIGA +# include "proto/amiga.pro" +# endif +# if defined(UNIX) || defined(__EMX__) +# include "proto/unix.pro" +# ifndef HAVE_RENAME + int rename __PARMS((const char *, const char *)); +# endif +# endif +# ifdef MSDOS +# include "proto/msdos.pro" +# endif +# ifdef WIN32 +# include "proto/win32.pro" +# endif +# ifdef VMS +# include "proto/vms.pro" +# endif + +# include "proto/alloc.pro" +# include "proto/buffer.pro" +# include "proto/charset.pro" +# include "proto/cmdcmds.pro" +# include "proto/cmdline.pro" +# include "proto/csearch.pro" +# include "proto/digraph.pro" +# include "proto/edit.pro" +# include "proto/fileio.pro" +# include "proto/getchar.pro" +# include "proto/help.pro" +# include "proto/linefunc.pro" +# include "proto/main.pro" +# include "proto/mark.pro" +# ifndef MESSAGE +void smsg __PARMS((char_u *, ...)); /* cannot be produced automatically */ +# endif +# include "proto/memfile.pro" +# include "proto/memline.pro" +# include "proto/message.pro" +# include "proto/misccmds.pro" +# include "proto/normal.pro" +# include "proto/ops.pro" +# include "proto/option.pro" +# include "proto/quickfix.pro" +# include "proto/regexp.pro" +# include "proto/regsub.pro" +# include "proto/screen.pro" +# include "proto/search.pro" +# include "proto/tables.pro" +# include "proto/tag.pro" +# include "proto/term.pro" +# if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS)) +# include "proto/termlib.pro" +# endif +# include "proto/undo.pro" +# include "proto/version.pro" +# include "proto/window.pro" + +# ifdef USE_GUI +# include "proto/gui.pro" +# ifdef USE_GUI_MOTIF +# include "proto/gui_motif.pro" +# endif +# ifdef USE_GUI_ATHENA +# include "proto/gui_athena.pro" +# endif +# if defined(USE_GUI_MOTIF) || defined(USE_GUI_ATHENA) +# include "proto/gui_x11.pro" +# endif +# if !defined(HAVE_SETENV) && !defined(HAVE_PUTENV) +extern int putenv __ARGS((char *string)); /* from pty.c */ +# endif +# endif /* USE_GUI */ +# if defined(USE_GUI) +extern int OpenPTY __ARGS((char **ttyn)); /* from pty.c */ +# endif + +#endif /* PROTO */ -- cgit v1.2.3