aboutsummaryrefslogtreecommitdiff
path: root/printmatch.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
committerBruce Hill <bruce@bruce-hill.com>2022-11-07 22:54:59 -0500
commit3ed2c195940de9fd2aa320147d1beaa8a0c98654 (patch)
tree9b87c3945fdfa986c6be77c77a8740f7d773ff0f /printmatch.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'printmatch.h')
-rw-r--r--printmatch.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/printmatch.h b/printmatch.h
index f6a894d..2c4b3ce 100644
--- a/printmatch.h
+++ b/printmatch.h
@@ -1,8 +1,7 @@
//
// Debug visualization of matches
//
-#ifndef EXPLAIN__H
-#define EXPLAIN__H
+#pragma once
#include "match.h"
@@ -18,5 +17,4 @@ void fprint_match(FILE *out, const char *file_start, match_t *m, print_options_t
__attribute__((nonnull))
void explain_match(match_t *m);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0