chore: run clang-format

This commit is contained in:
MechSlayer 2025-09-09 20:17:08 +02:00
parent f766cdb21e
commit 9810cadd37
4 changed files with 5 additions and 10 deletions

View file

@ -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.
*

View file

@ -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()
}
}

View file

@ -1,8 +1,8 @@
#pragma once
#include "linux/sync/internal.h"
#include <dirent.h>
#include <drang/fs.h>
#include <unistd.h>
#include <dirent.h>
#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;
};
DIR *dir;
};

View file

@ -17,4 +17,4 @@ struct drang_fs_directory
HANDLE handle;
WIN32_FIND_DATAA find_data;
bool first_entry;
};
};