From 59c5470adeb99da30dfd9d45a6035ec0936b29f3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 28 May 2024 01:56:13 -0400 Subject: Tweak default visibility settings --- printmatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'printmatch.c') 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) { -- cgit v1.2.3