From 9299db4d45f255b8fe176a23e4b33db8d85f5508 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Tue, 21 May 2024 05:00:49 +0000 Subject: remove prototypes with no matching function and externs with no var partly checked by millert@ --- usr.bin/mg/cmode.c | 3 +-- usr.bin/mg/def.h | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'usr.bin/mg') 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; -- cgit v1.2.3