aboutsummaryrefslogtreecommitdiff
path: root/printmatch.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-05-28 01:56:13 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-05-28 01:56:13 -0400
commit59c5470adeb99da30dfd9d45a6035ec0936b29f3 (patch)
tree314e509827ba62e579fb4f62526b9953c158545c /printmatch.c
parent1dd05d2d18f30f1ee921386f50cc1b63f32a09e2 (diff)
Tweak default visibility settings
Diffstat (limited to 'printmatch.c')
-rw-r--r--printmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/printmatch.c b/printmatch.c
index aa2f1d5..8421a83 100644
--- a/printmatch.c
+++ b/printmatch.c
@@ -178,7 +178,7 @@ static void _explain_matches(match_node_t *firstmatch, int depth, const char *te
//
// Print a visualization of a match object.
//
-void explain_match(match_t *m)
+public void explain_match(match_t *m)
{
printf("\033[?7l"); // Disable line wrapping
match_node_t first = {.m = m};
@@ -196,7 +196,7 @@ static inline int fputc_safe(FILE *out, char c, print_options_t *opts)
return printed;
}
-int fprint_match(FILE *out, const char *file_start, match_t *m, print_options_t *opts)
+public int fprint_match(FILE *out, const char *file_start, match_t *m, print_options_t *opts)
{
int printed = 0;
if (m->pat->type == BP_REPLACE) {