summaryrefslogtreecommitdiff
path: root/usr.bin/mg
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-21 05:00:49 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-21 05:00:49 +0000
commit9299db4d45f255b8fe176a23e4b33db8d85f5508 (patch)
tree93bb0788559a24bc5c8049b026b4d45a3c324cf9 /usr.bin/mg
parent2b420f805f31d3140396e09beb8a7a98056d23af (diff)
remove prototypes with no matching function and externs with no var
partly checked by millert@
Diffstat (limited to 'usr.bin/mg')
-rw-r--r--usr.bin/mg/cmode.c3
-rw-r--r--usr.bin/mg/def.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/mg/cmode.c b/usr.bin/mg/cmode.c
index 2a2a1090003..26bba76dd5a 100644
--- a/usr.bin/mg/cmode.c
+++ b/usr.bin/mg/cmode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmode.c,v 1.22 2023/04/21 13:39:37 op Exp $ */
+/* $OpenBSD: cmode.c,v 1.23 2024/05/21 05:00:48 jsg Exp $ */
/*
* This file is in the public domain.
*
@@ -35,7 +35,6 @@ static struct line *findnonblank(struct line *);
static int isnonblank(const struct line *, int);
void cmode_init(void);
-int cc_comment(int, int);
/* Keymaps */
diff --git a/usr.bin/mg/def.h b/usr.bin/mg/def.h
index 65ae2b43c06..403635036ce 100644
--- a/usr.bin/mg/def.h
+++ b/usr.bin/mg/def.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: def.h,v 1.180 2023/04/21 13:39:37 op Exp $ */
+/* $OpenBSD: def.h,v 1.181 2024/05/21 05:00:48 jsg Exp $ */
/* This file is in the public domain. */
@@ -754,7 +754,6 @@ extern int curgoal;
extern int startrow;
extern int epresf;
extern int sgarbf;
-extern int mode;
extern int nrow;
extern int ncol;
extern int ttrow;