-/* $OpenBSD: common.h,v 1.9 2016/08/27 04:07:42 guenther Exp $ */
+/* $OpenBSD: common.h,v 1.10 2021/01/26 18:19:43 deraadt Exp $ */
/*-
* Copyright (c) 1991, 1993, 1994
typedef enum { SEQ_ABBREV, SEQ_COMMAND, SEQ_INPUT } seq_t;
/* Program modes. */
-enum { MODE_EX, MODE_VI, MODE_VIEW } pmode;
+extern enum pmode { MODE_EX, MODE_VI, MODE_VIEW } pmode;
/*
* Local includes.
-/* $OpenBSD: main.c,v 1.41 2017/11/10 18:31:36 martijn Exp $ */
+/* $OpenBSD: main.c,v 1.42 2021/01/26 18:19:43 deraadt Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
#endif
static int v_obsolete(char *[]);
+enum pmode pmode;
+
/*
* editor --
* Main editor routine.