aboutsummaryrefslogtreecommitdiff
path: root/json.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 /json.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'json.h')
-rw-r--r--json.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/json.h b/json.h
index 538caa6..4af41bf 100644
--- a/json.h
+++ b/json.h
@@ -1,8 +1,7 @@
//
// json.h - Header file for JSON output.
//
-#ifndef JSON__H
-#define JSON__H
+#pragma once
#include <stdbool.h>
@@ -11,5 +10,4 @@
__attribute__((nonnull))
void json_match(const char *text, match_t *m, bool verbose);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0