diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-03-25 00:39:37 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-03-25 00:39:37 (GMT) |
commit | feb20aac304b39e18c70f88cae2f7cf7d5c82db2 (patch) | |
tree | e15d7e751af4e3c42e77ea955d91db4cf27a71cf /src/H5MVpkg.h | |
parent | bdac2ecdbff2c389a222b3d93ff1eb1d23ec6b23 (diff) | |
download | hdf5-feb20aac304b39e18c70f88cae2f7cf7d5c82db2.zip hdf5-feb20aac304b39e18c70f88cae2f7cf7d5c82db2.tar.gz hdf5-feb20aac304b39e18c70f88cae2f7cf7d5c82db2.tar.bz2 |
Formats the source and updates the gcc warning pragmas
Diffstat (limited to 'src/H5MVpkg.h')
-rw-r--r-- | src/H5MVpkg.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/H5MVpkg.h b/src/H5MVpkg.h index cb29879..3ff214d 100644 --- a/src/H5MVpkg.h +++ b/src/H5MVpkg.h @@ -30,8 +30,7 @@ #include "H5MVprivate.h" /* Other private headers needed by this file */ -#include "H5FSprivate.h" /* File free space */ - +#include "H5FSprivate.h" /* File free space */ /**************************/ /* Package Private Macros */ @@ -42,7 +41,8 @@ /* Free-space section types for file */ /* (values stored in free space data structures in file) */ -#define H5MV_FSPACE_SECT_SIMPLE 0 /* For non-paged aggregation: section is a range of actual bytes in file */ +#define H5MV_FSPACE_SECT_SIMPLE 0 /* For non-paged aggregation: section is a range of actual bytes in file \ + */ /****************************/ /* Package Private Typedefs */ @@ -50,7 +50,7 @@ /* File free space section info */ typedef struct H5MV_free_section_t { - H5FS_section_info_t sect_info; /* Free space section information (must be first in struct) */ + H5FS_section_info_t sect_info; /* Free space section information (must be first in struct) */ } H5MV_free_section_t; /*****************************/ @@ -60,7 +60,6 @@ typedef struct H5MV_free_section_t { /* H5MF single section inherits serializable properties from H5FS_section_class_t */ H5_DLLVAR H5FS_section_class_t H5MV_FSPACE_SECT_CLS_SIMPLE[1]; - /******************************/ /* Package Private Prototypes */ /******************************/ @@ -70,16 +69,14 @@ H5_DLL herr_t H5MV__create(H5F_t *f); /* free-space section routines */ H5_DLL H5MV_free_section_t *H5MV__sect_new(haddr_t sect_off, hsize_t sect_size); -H5_DLL herr_t H5MV__sect_free(H5FS_section_info_t *sect); -H5_DLL htri_t H5MV__sect_can_shrink(const H5FS_section_info_t *_sect, void *udata); -H5_DLL herr_t H5MV__sect_shrink(H5FS_section_info_t **_sect, void *udata); -H5_DLL haddr_t H5MV_get_vfd_swmr_md_eoa(const H5F_shared_t *); -H5_DLL herr_t H5MV__free_md(H5F_shared_t *, haddr_t, hsize_t); - +H5_DLL herr_t H5MV__sect_free(H5FS_section_info_t *sect); +H5_DLL htri_t H5MV__sect_can_shrink(const H5FS_section_info_t *_sect, void *udata); +H5_DLL herr_t H5MV__sect_shrink(H5FS_section_info_t **_sect, void *udata); +H5_DLL haddr_t H5MV_get_vfd_swmr_md_eoa(const H5F_shared_t *); +H5_DLL herr_t H5MV__free_md(H5F_shared_t *, haddr_t, hsize_t); /* Testing routines */ #ifdef H5MF_TESTING #endif /* H5MF_TESTING */ #endif /* _H5MFpkg_H */ - |