summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2022-03-13 11:13:01 -0400
committerTavian Barnes <tavianator@tavianator.com>2022-03-13 11:13:01 -0400
commit2f0af35773d9f077a8950a3aeb99a78306aeb5cc (patch)
tree682ecd73a0fdfa49871712c200a3838d0e76c484
parent64426f1a89450a0f79b723a4d966f7f9c7492c60 (diff)
downloadbfs-2f0af35773d9f077a8950a3aeb99a78306aeb5cc.tar.xz
Rename the include guards for the recently renamed headers
-rw-r--r--xregex.h6
-rw-r--r--xspawn.h8
-rw-r--r--xtime.c2
-rw-r--r--xtime.h8
4 files changed, 12 insertions, 12 deletions
diff --git a/xregex.h b/xregex.h
index 63cd120..b2f56a5 100644
--- a/xregex.h
+++ b/xregex.h
@@ -15,8 +15,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *
****************************************************************************/
-#ifndef BFS_REGEX_H
-#define BFS_REGEX_H
+#ifndef BFS_XREGEX_H
+#define BFS_XREGEX_H
/**
* A compiled regular expression.
@@ -94,4 +94,4 @@ void bfs_regfree(struct bfs_regex *regex);
*/
char *bfs_regerror(const struct bfs_regex *regex);
-#endif // BFS_REGEX_H
+#endif // BFS_XREGEX_H
diff --git a/xspawn.h b/xspawn.h
index 0dd9d61..cd6a42e 100644
--- a/xspawn.h
+++ b/xspawn.h
@@ -1,6 +1,6 @@
/****************************************************************************
* bfs *
- * Copyright (C) 2018-2019 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2018-2022 Tavian Barnes <tavianator@tavianator.com> *
* *
* Permission to use, copy, modify, and/or distribute this software for any *
* purpose with or without fee is hereby granted. *
@@ -18,8 +18,8 @@
* A process-spawning library inspired by posix_spawn().
*/
-#ifndef BFS_SPAWN_H
-#define BFS_SPAWN_H
+#ifndef BFS_XSPAWN_H
+#define BFS_XSPAWN_H
#include <sys/resource.h>
#include <sys/types.h>
@@ -120,4 +120,4 @@ pid_t bfs_spawn(const char *exe, const struct bfs_spawn *ctx, char **argv, char
*/
char *bfs_spawn_resolve(const char *exe);
-#endif // BFS_SPAWN_H
+#endif // BFS_XSPAWN_H
diff --git a/xtime.c b/xtime.c
index b83bf20..8ca963b 100644
--- a/xtime.c
+++ b/xtime.c
@@ -1,6 +1,6 @@
/****************************************************************************
* bfs *
- * Copyright (C) 2020 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2020-2022 Tavian Barnes <tavianator@tavianator.com> *
* *
* Permission to use, copy, modify, and/or distribute this software for any *
* purpose with or without fee is hereby granted. *
diff --git a/xtime.h b/xtime.h
index 0f9adb4..ceff48f 100644
--- a/xtime.h
+++ b/xtime.h
@@ -1,6 +1,6 @@
/****************************************************************************
* bfs *
- * Copyright (C) 2020 Tavian Barnes <tavianator@tavianator.com> *
+ * Copyright (C) 2020-2022 Tavian Barnes <tavianator@tavianator.com> *
* *
* Permission to use, copy, modify, and/or distribute this software for any *
* purpose with or without fee is hereby granted. *
@@ -18,8 +18,8 @@
* Date/time handling.
*/
-#ifndef BFS_TIME_H
-#define BFS_TIME_H
+#ifndef BFS_XTIME_H
+#define BFS_XTIME_H
#include <time.h>
@@ -83,4 +83,4 @@ int xtimegm(struct tm *tm, time_t *timep);
*/
int parse_timestamp(const char *str, struct timespec *result);
-#endif // BFS_TIME_H
+#endif // BFS_XTIME_H