diff options
author | CismonX <admin@cismon.net> | 2025-08-19 08:05:45 +0800 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-08-19 16:21:24 +0200 |
commit | a63fc71a55038f49671eb56d0ade99a48ad8d7ab (patch) | |
tree | fdfda549997183bcc9b8cddd90b30bdeffe0d230 /include | |
parent | 42b9b3bbb71d38be6a5670bbd0948cf406c1573c (diff) | |
download | libfuse-a63fc71a55038f49671eb56d0ade99a48ad8d7ab.tar.gz |
tests: move struct size assertions into a test
These checks are meant for libfuse maintainers only,
and should not be exposed to users.
Signed-off-by: CismonX <admin@cismon.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/fuse_common.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h index b82f2c4..041188e 100644 --- a/include/fuse_common.h +++ b/include/fuse_common.h @@ -30,12 +30,6 @@ #define FUSE_MAKE_VERSION(maj, min) ((maj) * 100 + (min)) #define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION) -#ifdef HAVE_STATIC_ASSERT -#define fuse_static_assert(condition, message) static_assert(condition, message) -#else -#define fuse_static_assert(condition, message) -#endif - #ifdef __cplusplus extern "C" { #endif @@ -129,8 +123,6 @@ struct fuse_file_info { uint64_t reserved[2]; }; -fuse_static_assert(sizeof(struct fuse_file_info) == 64, - "fuse_file_info size mismatch"); /** * Configuration parameters passed to fuse_session_loop_mt() and @@ -719,8 +711,6 @@ struct fuse_conn_info { */ uint16_t reserved[31]; }; -fuse_static_assert(sizeof(struct fuse_conn_info) == 128, - "Size of struct fuse_conn_info must be 128 bytes"); struct fuse_session; struct fuse_pollhandle; |