Fix function declaration order for pfs_debug_check_lock_order

This commit is contained in:
Levi Neely 2026-03-08 15:29:57 +01:00
parent fb29883584
commit 667f2666c3
1 changed files with 2 additions and 1 deletions

View File

@ -138,6 +138,8 @@ typedef struct {
int dummy[0];
} pfs_index_header;
void pfs_debug_check_lock_order(const char *file, unsigned long line);
#if IS_DEBUG
#define pfs_lock_file(of) pfs_do_lock_file(of, __FILE__, __LINE__)
@ -198,7 +200,6 @@ void pfs_clean_tasks();
void pfs_debug_init_file_mutex(pthread_mutex_t *m);
void pfs_debug_dump_internals();
void pfs_debug_register_signal_handlers();
void pfs_debug_check_lock_order(const char *file, unsigned long line);
extern volatile sig_atomic_t shutdown_requested;