summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index 9f3c7ca3f4d..5f9981392b1 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.12 2001/05/24 10:43:19 art Exp $ */
+/* $OpenBSD: main.c,v 1.13 2001/05/24 10:58:34 art Exp $ */
/*
* Mainline.
@@ -43,6 +43,16 @@ main(argc, argv)
ttykeymapinit(); /* Symbols, bindings. */
/*
+ * This is where we initialize standalone extensions that should
+ * be loaded dynamically sometime in the future.
+ */
+ {
+ extern void grep_init(void);
+
+ grep_init();
+ }
+
+ /*
* doing update() before reading files causes the error messages from
* the file I/O show up on the screen. (and also an extra display of
* the mode line if there are files specified on the command line.)