summaryrefslogtreecommitdiff
path: root/usr.bin/mg/main.c
diff options
context:
space:
mode:
authorKjell Wooding <kjell@cvs.openbsd.org>2005-11-20 18:47:12 +0000
committerKjell Wooding <kjell@cvs.openbsd.org>2005-11-20 18:47:12 +0000
commit705421d2e1c7b89d0d15f6cc801d59c7ecee3342 (patch)
tree45298aacfe2deb5384d3af4b8b83aa724f943475 /usr.bin/mg/main.c
parent5edbb1a26ab00ad05a30182a83cf4bb42af50dd1 (diff)
#ifdef NO_DIR can go too. From Han Boetes.
Diffstat (limited to 'usr.bin/mg/main.c')
-rw-r--r--usr.bin/mg/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/mg/main.c b/usr.bin/mg/main.c
index afdbe7e99a8..049cbc26881 100644
--- a/usr.bin/mg/main.c
+++ b/usr.bin/mg/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.46 2005/11/20 03:24:17 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.47 2005/11/20 18:47:11 kjell Exp $ */
/* This file is in the public domain. */
@@ -77,9 +77,7 @@ main(int argc, char **argv)
errx(1, "Unknown function `%s'", init_fcn_name);
vtinit(); /* Virtual terminal. */
-#ifndef NO_DIR
dirinit(); /* Get current directory. */
-#endif /* !NO_DIR */
edinit(init_fcn); /* Buffers, windows. */
ttykeymapinit(); /* Symbols, bindings. */