From 3ed2c195940de9fd2aa320147d1beaa8a0c98654 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 7 Nov 2022 22:54:59 -0500 Subject: Use `#pragma once` --- files.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'files.h') 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 #include @@ -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 -- cgit v1.2.3