diff options
Diffstat (limited to 'bin/ksh/edit.h')
-rw-r--r-- | bin/ksh/edit.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/bin/ksh/edit.h b/bin/ksh/edit.h index 0f76d5b4c64..210511f8715 100644 --- a/bin/ksh/edit.h +++ b/bin/ksh/edit.h @@ -1,4 +1,4 @@ -/* $OpenBSD: edit.h,v 1.9 2011/05/30 17:14:35 martynas Exp $ */ +/* $OpenBSD: edit.h,v 1.10 2015/09/26 23:49:37 nicm Exp $ */ /* NAME: * edit.h - globals for edit modes @@ -14,15 +14,6 @@ * */ -/* some useful #defines */ -#ifdef EXTERN -# define I__(i) = i -#else -# define I__(i) -# define EXTERN extern -# define EXTERN_DEFINED -#endif - #define BEL 0x07 /* tty driver characters we are interested in */ @@ -35,7 +26,7 @@ typedef struct { int eof; } X_chars; -EXTERN X_chars edchars; +extern X_chars edchars; /* x_cf_glob() flags */ #define XCF_COMMAND BIT(0) /* Do command completion */ @@ -70,17 +61,3 @@ int x_vi(char *, size_t); #else # define D__(x) #endif - -/* This lot goes at the END */ -/* be sure not to interfere with anyone else's idea about EXTERN */ -#ifdef EXTERN_DEFINED -# undef EXTERN_DEFINED -# undef EXTERN -#endif -#undef I__ -/* - * Local Variables: - * version-control:t - * comment-column:40 - * End: - */ |