diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2023-05-03 09:29:19 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2023-05-03 09:29:19 -0400 |
commit | 7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7 (patch) | |
tree | 5a792a12d92518d2250611e05332f9904307f157 /src/dir.c | |
parent | 6d59961d6d5ce91529a17bdad380ee78fa866564 (diff) | |
download | bfs-7e5357a1cf40ebaa7ffaeebfd3a88c3ba93eb1a7.tar.xz |
style: Don't use tabs to indent preprocessor directives
Diffstat (limited to 'src/dir.c')
-rw-r--r-- | src/dir.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -16,16 +16,16 @@ #include <unistd.h> #ifndef BFS_GETDENTS -# define BFS_GETDENTS (__linux__ || __FreeBSD__) +# define BFS_GETDENTS (__linux__ || __FreeBSD__) #endif #if BFS_GETDENTS -# if __has_feature(memory_sanitizer) -# include <sanitizer/msan_interface.h> -# endif -# if __linux__ -# include <sys/syscall.h> -# endif +# if __has_feature(memory_sanitizer) +# include <sanitizer/msan_interface.h> +# endif +# if __linux__ +# include <sys/syscall.h> +# endif /** getdents() syscall wrapper. */ static ssize_t bfs_getdents(int fd, void *buf, size_t size) { @@ -119,10 +119,10 @@ struct bfs_dir { }; #if BFS_GETDENTS -# define DIR_SIZE (64 << 10) -# define BUF_SIZE (DIR_SIZE - sizeof(struct bfs_dir)) +# define DIR_SIZE (64 << 10) +# define BUF_SIZE (DIR_SIZE - sizeof(struct bfs_dir)) #else -# define DIR_SIZE sizeof(struct bfs_dir) +# define DIR_SIZE sizeof(struct bfs_dir) #endif struct bfs_dir *bfs_opendir(int at_fd, const char *at_path) { |