From 9810cadd373976c78dc47b9a17bef5e3b39d7dd8 Mon Sep 17 00:00:00 2001 From: MechSlayer <0jcrespo1996@gmail.com> Date: Tue, 9 Sep 2025 20:17:08 +0200 Subject: [PATCH] chore: run clang-format --- Source/DrangPlatform/Include/drang/fs.h | 2 -- Source/DrangPlatform/Source/linux/fs/dir.c | 4 +--- Source/DrangPlatform/Source/linux/fs/internal.h | 7 +++---- Source/DrangPlatform/Source/win32/fs/internal.h | 2 +- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/Source/DrangPlatform/Include/drang/fs.h b/Source/DrangPlatform/Include/drang/fs.h index 8d5d7a3..43753f3 100644 --- a/Source/DrangPlatform/Include/drang/fs.h +++ b/Source/DrangPlatform/Include/drang/fs.h @@ -132,8 +132,6 @@ typedef struct fs_dir_entry drang_fs_type_t type; /**< Entry type */ } drang_fs_dir_entry_t; - - /** * @brief Gets the platform-specific path separator character. * diff --git a/Source/DrangPlatform/Source/linux/fs/dir.c b/Source/DrangPlatform/Source/linux/fs/dir.c index e039d0a..664d18f 100644 --- a/Source/DrangPlatform/Source/linux/fs/dir.c +++ b/Source/DrangPlatform/Source/linux/fs/dir.c @@ -143,8 +143,6 @@ int drang_fs_get_cwd(char *buffer, size_t size, size_t *out_size) DRANG_FAIL(drang_errno_to_error(errno)); - - DRANG_END_TRY_IGNORE() } @@ -157,4 +155,4 @@ int drang_fs_set_cwd(const char *path) } DRANG_END_TRY_IGNORE() -} \ No newline at end of file +} diff --git a/Source/DrangPlatform/Source/linux/fs/internal.h b/Source/DrangPlatform/Source/linux/fs/internal.h index d43fd4f..e0ac8f2 100644 --- a/Source/DrangPlatform/Source/linux/fs/internal.h +++ b/Source/DrangPlatform/Source/linux/fs/internal.h @@ -1,8 +1,8 @@ #pragma once #include "linux/sync/internal.h" +#include #include #include -#include #define DRANG_LINUX_FS_BUFFER_SIZE (4096) struct drang_fs_file @@ -12,8 +12,7 @@ struct drang_fs_file struct drang_rwlock lock; }; - struct drang_fs_directory { - DIR* dir; -}; \ No newline at end of file + DIR *dir; +}; diff --git a/Source/DrangPlatform/Source/win32/fs/internal.h b/Source/DrangPlatform/Source/win32/fs/internal.h index 37a6b0a..fde1e26 100644 --- a/Source/DrangPlatform/Source/win32/fs/internal.h +++ b/Source/DrangPlatform/Source/win32/fs/internal.h @@ -17,4 +17,4 @@ struct drang_fs_directory HANDLE handle; WIN32_FIND_DATAA find_data; bool first_entry; -}; \ No newline at end of file +};