summaryrefslogtreecommitdiff
path: root/usr.bin/mg/def.h
diff options
context:
space:
mode:
authorMark Lumsden <lum@cvs.openbsd.org>2018-12-13 14:59:17 +0000
committerMark Lumsden <lum@cvs.openbsd.org>2018-12-13 14:59:17 +0000
commit900eed1ec714253d6c2f2f15ca4adbe281098bb5 (patch)
tree73044eff07d23bc8c38f146941a5f3f09a38e3b1 /usr.bin/mg/def.h
parent3d4212dae69e5feb6eb917aa6aebf66e59ff25b0 (diff)
Allow all non-ephemeral buffers to be toggled writable or read-only
while mg is running: toggle-read-only-all
Diffstat (limited to 'usr.bin/mg/def.h')
-rw-r--r--usr.bin/mg/def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 86c606f7ff4..c7a134f8513 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.156 2018/08/29 07:50:16 reyk Exp $ */
+/* $OpenBSD: def.h,v 1.157 2018/12/13 14:59:16 lum Exp $ */
/* This file is in the public domain. */
@@ -417,6 +417,7 @@ int delwind(int, int);
/* buffer.c */
int togglereadonly(int, int);
+int togglereadonlyall(int, int);
struct buffer *bfind(const char *, int);
int poptobuffer(int, int);
int killbuffer(struct buffer *);
@@ -737,6 +738,7 @@ extern int defb_flag;
extern int doaudiblebell;
extern int dovisiblebell;
extern int dblspace;
+extern int allbro;
extern char cinfo[];
extern char *keystrings[];
extern char pat[NPAT];