aboutsummaryrefslogtreecommitdiff
path: root/files.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 /files.h
parent372eb2647f04c8789679a7fd80a0e91a65e47941 (diff)
Use `#pragma once`
Diffstat (limited to 'files.h')
-rw-r--r--files.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/files.h b/files.h
index 358fcd8..2b2b64c 100644
--- a/files.h
+++ b/files.h
@@ -1,8 +1,7 @@
//
// files.h - Definitions of an API for loading files.
//
-#ifndef FILES__H
-#define FILES__H
+#pragma once
#include <stdio.h>
#include <unistd.h>
@@ -32,5 +31,4 @@ size_t get_line_column(file_t *f, const char *p);
__attribute__((pure, nonnull))
const char *get_line(file_t *f, size_t line_number);
-#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1,\:0