summaryrefslogtreecommitdiff
path: root/usr.bin/mg/macro.h
diff options
context:
space:
mode:
authorVincent Labrecque <vincent@cvs.openbsd.org>2004-02-01 22:26:42 +0000
committerVincent Labrecque <vincent@cvs.openbsd.org>2004-02-01 22:26:42 +0000
commit8dd76e39cefff01dd2ee312bf5e18c1841b86a54 (patch)
tree20c94102e51185def8f1caa5243ce2cee6ab8dbc /usr.bin/mg/macro.h
parent4c6ea3fcb798e74165764d6fee09e17c6bc07342 (diff)
remove old precompiler weirdness that is not really needed...
Diffstat (limited to 'usr.bin/mg/macro.h')
-rw-r--r--usr.bin/mg/macro.h24
1 files changed, 9 insertions, 15 deletions
diff --git a/usr.bin/mg/macro.h b/usr.bin/mg/macro.h
index abfc4765b29..7624be8728f 100644
--- a/usr.bin/mg/macro.h
+++ b/usr.bin/mg/macro.h
@@ -1,25 +1,19 @@
-/* $OpenBSD: macro.h,v 1.4 2001/05/24 03:05:24 mickey Exp $ */
+/* $OpenBSD: macro.h,v 1.5 2004/02/01 22:26:41 vincent Exp $ */
/* definitions for keyboard macros */
-#ifndef EXTERN
-#define EXTERN extern
-#define INIT(i)
-#endif
-
#define MAXMACRO 256 /* maximum functs in a macro */
-EXTERN int inmacro INIT(FALSE);
-EXTERN int macrodef INIT(FALSE);
-EXTERN int macrocount INIT(0);
+extern int inmacro;
+extern int macrodef;
+extern int macrocount;
-EXTERN union {
+union macrodef {
PF m_funct;
int m_count; /* for count-prefix */
-} macro[MAXMACRO];
+};
-EXTERN LINE *maclhead INIT(NULL);
-EXTERN LINE *maclcur;
+extern union macrodef macro[MAXMACRO];
-#undef EXTERN
-#undef INIT
+extern LINE *maclhead;
+extern LINE *maclcur;