aboutsummaryrefslogtreecommitdiff
path: root/match.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 /match.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'match.h')
-rw-r--r--match.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/match.h b/match.h
index c873420..eba4e66 100644
--- a/match.h
+++ b/match.h
@@ -1,8 +1,7 @@
//
// match.h - Header file for BP virtual machine.
//
-#ifndef MATCH__H
-#define MATCH__H
+#pragma once
#include <stdbool.h>
#include <stdio.h>
@@ -39,5 +38,4 @@ match_t *get_numbered_capture(match_t *m, int n);
__attribute__((nonnull, pure))
match_t *get_named_capture(match_t *m, const char *name, ssize_t namelen);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0