summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-02-01 12:37:50 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-02-01 12:44:58 -0500
commitb9bd5cbaf717f5613e9c093698c3af884586a975 (patch)
treed2dbfef4fc90ec7771c0cbb99486521c74e585cb /src
parent670ebd97fb431e830b1500b2e7e8013b121fb2c5 (diff)
downloadbfs-b9bd5cbaf717f5613e9c093698c3af884586a975.tar.xz
bfstd: Don't shadow FreeBSD's fflags_t
Diffstat (limited to 'src')
-rw-r--r--src/bfstd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bfstd.c b/src/bfstd.c
index 0a9b87c..d19049f 100644
--- a/src/bfstd.c
+++ b/src/bfstd.c
@@ -639,12 +639,12 @@ int xstrtofflags(const char **str, unsigned long long *set, unsigned long long *
char *str_arg = (char *)*str;
#if __OpenBSD__
- typedef uint32_t fflags_t;
+ typedef uint32_t bfs_fflags_t;
#else
- typedef unsigned long fflags_t;
+ typedef unsigned long bfs_fflags_t;
#endif
- fflags_t set_arg = 0;
- fflags_t clear_arg = 0;
+ bfs_fflags_t set_arg = 0;
+ bfs_fflags_t clear_arg = 0;
#if __NetBSD__
int ret = string_to_flags(&str_arg, &set_arg, &clear_arg);