Skip to content

Commit

Permalink
make gosubs private
Browse files Browse the repository at this point in the history
  • Loading branch information
digama0 committed Mar 7, 2022
1 parent 0991f6b commit 1fc7123
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 6 additions & 0 deletions src/mmword.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 0 additions & 7 deletions src/mmword.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */

0 comments on commit 1fc7123

Please sign in to comment.