Skip to content

Commit

Permalink
Clean up include of H5TSprivate.h header
Browse files Browse the repository at this point in the history
Signed-off-by: Quincey Koziol <[email protected]>
  • Loading branch information
qkoziol committed Apr 11, 2024
1 parent 042b3b6 commit 4498a04
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions src/H5FDsubfiling/H5subfiling_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
#ifndef H5_SUBFILING_COMMON_H
#define H5_SUBFILING_COMMON_H

#include "H5private.h"
#include "H5FDprivate.h"
#include "H5Iprivate.h"
#include "H5Pprivate.h"
#include "H5private.h" /* Generic Functions */
#include "H5FDprivate.h" /* File Drivers */
#include "H5Iprivate.h" /* IDs */
#include "H5Pprivate.h" /* Property lists */
#include "H5TSprivate.h" /* Threads */

#include "H5FDsubfiling.h"
#include "H5FDioc.h"
Expand Down
4 changes: 2 additions & 2 deletions src/H5private.h
Original file line number Diff line number Diff line change
Expand Up @@ -1236,11 +1236,11 @@ H5_DLL herr_t H5_trace_args(struct H5RS_str_t *rs, const char *type, va_list ap)
/* global library version information string */
extern char H5_lib_vers_info_g[];

#ifdef H5_HAVE_THREADSAFE

/* Lock headers */
#include "H5TSprivate.h"

#ifdef H5_HAVE_THREADSAFE

/* Local variables for saving cancellation state */
#define H5CANCEL_DECL int oldstate = 0;

Expand Down

0 comments on commit 4498a04

Please sign in to comment.