diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:56:13 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-05-28 01:56:13 -0400 |
| commit | 59c5470adeb99da30dfd9d45a6035ec0936b29f3 (patch) | |
| tree | 314e509827ba62e579fb4f62526b9953c158545c /printmatch.c | |
| parent | 1dd05d2d18f30f1ee921386f50cc1b63f32a09e2 (diff) | |
Tweak default visibility settings
Diffstat (limited to 'printmatch.c')
| -rw-r--r-- | printmatch.c | 4 |
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) { |
