=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/mg/main.c,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- src/usr.bin/mg/main.c 2001/05/24 10:43:19 1.12 +++ src/usr.bin/mg/main.c 2001/05/24 10:58:34 1.13 @@ -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. @@ -41,6 +41,16 @@ maps_init(); /* Keymaps and modes. */ funmap_init(); /* Functions. */ 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