From 1fc712336d7b3e295decf9b32e08516650673e74 Mon Sep 17 00:00:00 2001 From: Mario Carneiro Date: Sun, 6 Mar 2022 20:37:03 -0500 Subject: [PATCH] make gosubs private --- src/mmword.c | 6 ++++++ src/mmword.h | 7 ------- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mmword.c b/src/mmword.c index ac9d6c8a..a068db4d 100644 --- a/src/mmword.c +++ b/src/mmword.c @@ -62,6 +62,12 @@ flag printedAtLeastOne; vstring reserve2_[MAX_BUF]; +/* These two functions emulate 2 GOSUBs in BASIC, that are part of a + translation of a very old BASIC program (by nm) that implemented a + difference algorithm (like Unix diff). */ +void gosub_7320(void); +void gosub_7330(void); + /* revise() is called by the UPDATE command of TOOLs. The idea is to keep all past history of a file in the file itself, in the form of comments. In mmcmds.c, see the parsing of the UPDATE command for a diff --git a/src/mmword.h b/src/mmword.h index ff2cc6ba..eff91d3a 100644 --- a/src/mmword.h +++ b/src/mmword.h @@ -25,11 +25,4 @@ long highestRevision(vstring fileName); /* Tags are assumed to be of format nn or #nn in comment at end of line */ long getRevision(vstring line); - -/* These two functions emulate 2 GOSUBs in BASIC, that are part of a - translation of a very old BASIC program (by nm) that implemented a - difference algorithm (like Unix diff). */ -void gosub_7320(void); -void gosub_7330(void); - #endif /* METAMATH_MMWORD_H_ */