From 2f0af35773d9f077a8950a3aeb99a78306aeb5cc Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 13 Mar 2022 11:13:01 -0400 Subject: Rename the include guards for the recently renamed headers --- xregex.h | 6 +++--- xspawn.h | 8 ++++---- xtime.c | 2 +- xtime.h | 8 ++++---- 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 * + * Copyright (C) 2018-2022 Tavian Barnes * * * * 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 #include @@ -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 * + * Copyright (C) 2020-2022 Tavian Barnes * * * * 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 * + * Copyright (C) 2020-2022 Tavian Barnes * * * * 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 @@ -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 -- cgit v1.2.3