summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorMark Lumsden <lum@cvs.openbsd.org>2015-10-29 19:46:48 +0000
committerMark Lumsden <lum@cvs.openbsd.org>2015-10-29 19:46:48 +0000
commitcdf8b79743d5d6feec6aac119a5b251432354cdb (patch)
tree54451262ca2f6632afe72bfff82b11ff5390bed2 /usr.bin/mg/def.h
parentf614cf5a7e8313c2c6a11fb47f25d41242319512 (diff)
Fix opening dired from the command line. Incorrect cursor placement
and make the error more useful when there is a problem opening a directory. Reported by and ok jasper@
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 22f099d89e6..01747539847 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.151 2015/10/12 19:08:39 lum Exp $ */
+/* $OpenBSD: def.h,v 1.152 2015/10/29 19:46:47 lum Exp $ */
/* This file is in the public domain. */
@@ -360,6 +360,7 @@ int ask_makedir(void);
/* dired.c */
struct buffer *dired_(char *);
+int do_dired(char *);
/* file.c X */
int fileinsert(int, int);