Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes unused definitions from module headers #1624

Merged
merged 2 commits into from
Apr 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/H5ACmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5AC_MODULE
#define H5_MY_PKG H5AC
#define H5_MY_PKG_ERR H5E_CACHE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5AC
#define H5_MY_PKG_ERR H5E_CACHE

#endif /* H5ACmodule_H */
5 changes: 2 additions & 3 deletions src/H5Amodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5A_MODULE
#define H5_MY_PKG H5A
#define H5_MY_PKG_ERR H5E_ATTR
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5A
#define H5_MY_PKG_ERR H5E_ATTR

/**\defgroup H5A H5A
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5B2module.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5B2_MODULE
#define H5_MY_PKG H5B2
#define H5_MY_PKG_ERR H5E_BTREE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5B2
#define H5_MY_PKG_ERR H5E_BTREE

#endif /* H5B2module_H */
5 changes: 2 additions & 3 deletions src/H5Bmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5B_MODULE
#define H5_MY_PKG H5B
#define H5_MY_PKG_ERR H5E_BTREE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5B
#define H5_MY_PKG_ERR H5E_BTREE

#endif /* H5Bmodule_H */
5 changes: 2 additions & 3 deletions src/H5CXmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5CX_MODULE
#define H5_MY_PKG H5CX
#define H5_MY_PKG_ERR H5E_CONTEXT
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5CX
#define H5_MY_PKG_ERR H5E_CONTEXT

#endif /* H5CXmodule_H */
5 changes: 2 additions & 3 deletions src/H5Cmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5C_MODULE
#define H5_MY_PKG H5C
#define H5_MY_PKG_ERR H5E_CACHE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5C
#define H5_MY_PKG_ERR H5E_CACHE

#endif /* H5Cmodule_H */
5 changes: 2 additions & 3 deletions src/H5Dmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5D_MODULE
#define H5_MY_PKG H5D
#define H5_MY_PKG_ERR H5E_DATASET
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5D
#define H5_MY_PKG_ERR H5E_DATASET

/**\defgroup H5D H5D
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5EAmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5EA_MODULE
#define H5_MY_PKG H5EA
#define H5_MY_PKG_ERR H5E_EARRAY
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5EA
#define H5_MY_PKG_ERR H5E_EARRAY

#endif /* H5EAmodule_H */
5 changes: 2 additions & 3 deletions src/H5ESmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5ES_MODULE
#define H5_MY_PKG H5ES
#define H5_MY_PKG_ERR H5E_EVENTSET
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5ES
#define H5_MY_PKG_ERR H5E_EVENTSET

/**\defgroup H5ES H5ES
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5Emodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5E_MODULE
#define H5_MY_PKG H5E
#define H5_MY_PKG_ERR H5E_ERROR
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5E
#define H5_MY_PKG_ERR H5E_ERROR

/**\defgroup H5E H5E
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5FAmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5FA_MODULE
#define H5_MY_PKG H5FA
#define H5_MY_PKG_ERR H5E_FARRAY
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5FA
#define H5_MY_PKG_ERR H5E_FARRAY

#endif /* H5FAmodule_H */
6 changes: 2 additions & 4 deletions src/H5FDdrvr_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@
/* Define the proper control macros for the generic FUNC_ENTER/LEAVE and error
* reporting macros.
*/
#define H5_MY_PKG H5FD
#define H5_MY_PKG_ERR H5E_FILE
#define H5_MY_PKG_INIT YES
#define H5_PKG_SINGLE_SOURCE
#define H5_MY_PKG H5FD
#define H5_MY_PKG_ERR H5E_FILE

#endif /* H5FDdrvr_module_H */
5 changes: 2 additions & 3 deletions src/H5FDmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5FD_MODULE
#define H5_MY_PKG H5FD
#define H5_MY_PKG_ERR H5E_VFL
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5FD
#define H5_MY_PKG_ERR H5E_VFL

#endif /* H5FDmodule_H */
5 changes: 2 additions & 3 deletions src/H5FLmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5FL_MODULE
#define H5_MY_PKG H5FL
#define H5_MY_PKG_ERR H5E_RESOURCE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5FL
#define H5_MY_PKG_ERR H5E_RESOURCE

#endif /* H5FLmodule_H */
5 changes: 2 additions & 3 deletions src/H5FSmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5FS_MODULE
#define H5_MY_PKG H5FS
#define H5_MY_PKG_ERR H5E_FSPACE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5FS
#define H5_MY_PKG_ERR H5E_FSPACE

#endif /* H5FSmodule_H */
5 changes: 2 additions & 3 deletions src/H5Fmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5F_MODULE
#define H5_MY_PKG H5F
#define H5_MY_PKG_ERR H5E_FILE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5F
#define H5_MY_PKG_ERR H5E_FILE

/**\defgroup H5F H5F
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5Gmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5G_MODULE
#define H5_MY_PKG H5G
#define H5_MY_PKG_ERR H5E_SYM
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5G
#define H5_MY_PKG_ERR H5E_SYM

/** \defgroup H5G H5G
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5HFmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5HF_MODULE
#define H5_MY_PKG H5HF
#define H5_MY_PKG_ERR H5E_HEAP
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5HF
#define H5_MY_PKG_ERR H5E_HEAP

#endif /* H5HFmodule_H */
5 changes: 2 additions & 3 deletions src/H5HGmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5HG_MODULE
#define H5_MY_PKG H5HG
#define H5_MY_PKG_ERR H5E_HEAP
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5HG
#define H5_MY_PKG_ERR H5E_HEAP

#endif /* H5HGmodule_H */
5 changes: 2 additions & 3 deletions src/H5HLmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5HL_MODULE
#define H5_MY_PKG H5HL
#define H5_MY_PKG_ERR H5E_HEAP
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5HL
#define H5_MY_PKG_ERR H5E_HEAP

#endif /* H5HLmodule_H */
5 changes: 2 additions & 3 deletions src/H5HLpkg.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,8 @@ H5FL_BLK_EXTERN(lheap_chunk);
* error reporting macros.
*/
#ifdef H5HL_PACKAGE
#define H5_MY_PKG H5HL
#define H5_MY_PKG_ERR H5E_HEAP
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5HL
#define H5_MY_PKG_ERR H5E_HEAP
#endif

#define H5HL_SIZEOF_HDR(F) \
Expand Down
5 changes: 2 additions & 3 deletions src/H5Imodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5I_MODULE
#define H5_MY_PKG H5I
#define H5_MY_PKG_ERR H5E_ID
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5I
#define H5_MY_PKG_ERR H5E_ID

/**\defgroup H5I H5I
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5Lmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5L_MODULE
#define H5_MY_PKG H5L
#define H5_MY_PKG_ERR H5E_LINK
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5L
#define H5_MY_PKG_ERR H5E_LINK

/**\defgroup H5L H5L
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5MFmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5MF_MODULE
#define H5_MY_PKG H5MF
#define H5_MY_PKG_ERR H5E_RESOURCE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5MF
#define H5_MY_PKG_ERR H5E_RESOURCE

#endif /* H5MFmodule_H */
5 changes: 2 additions & 3 deletions src/H5Mmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@
* reporting macros.
*/
#define H5M_MODULE
#define H5_MY_PKG H5M
#define H5_MY_PKG_ERR H5E_MAP
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5M
#define H5_MY_PKG_ERR H5E_MAP

/**\defgroup H5M H5M
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5Omodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5O_MODULE
#define H5_MY_PKG H5O
#define H5_MY_PKG_ERR H5E_OHDR
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5O
#define H5_MY_PKG_ERR H5E_OHDR

/**\defgroup H5O H5O
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5PBmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5PB_MODULE
#define H5_MY_PKG H5PB
#define H5_MY_PKG_ERR H5E_RESOURCE
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5PB
#define H5_MY_PKG_ERR H5E_RESOURCE

#endif /* H5PBmodule_H */
5 changes: 2 additions & 3 deletions src/H5PLmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@
* reporting macros.
*/
#define H5PL_MODULE
#define H5_MY_PKG H5PL
#define H5_MY_PKG_ERR H5E_PLUGIN
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5PL
#define H5_MY_PKG_ERR H5E_PLUGIN

/**\defgroup H5PL H5PL
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5Pmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5P_MODULE
#define H5_MY_PKG H5P
#define H5_MY_PKG_ERR H5E_PLIST
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5P
#define H5_MY_PKG_ERR H5E_PLIST

/**\defgroup H5P H5P
*
Expand Down
5 changes: 2 additions & 3 deletions src/H5RSmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5RS_MODULE
#define H5_MY_PKG H5RS
#define H5_MY_PKG_ERR H5E_RS
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5RS
#define H5_MY_PKG_ERR H5E_RS

#endif /* H5RSmodule_H */
5 changes: 2 additions & 3 deletions src/H5Rmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
* reporting macros.
*/
#define H5R_MODULE
#define H5_MY_PKG H5R
#define H5_MY_PKG_ERR H5E_REFERENCE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5R
#define H5_MY_PKG_ERR H5E_REFERENCE

/**
* \defgroup H5R H5R
Expand Down
5 changes: 2 additions & 3 deletions src/H5SLmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5SL_MODULE
#define H5_MY_PKG H5SL
#define H5_MY_PKG_ERR H5E_SLIST
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5SL
#define H5_MY_PKG_ERR H5E_SLIST

#endif /* H5SLmodule_H */
5 changes: 2 additions & 3 deletions src/H5SMmodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
* reporting macros.
*/
#define H5SM_MODULE
#define H5_MY_PKG H5SM
#define H5_MY_PKG_ERR H5E_SOHM
#define H5_MY_PKG_INIT NO
#define H5_MY_PKG H5SM
#define H5_MY_PKG_ERR H5E_SOHM

#endif /* H5SMmodule_H */
5 changes: 2 additions & 3 deletions src/H5Smodule.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5S_MODULE
#define H5_MY_PKG H5S
#define H5_MY_PKG_ERR H5E_DATASPACE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5S
#define H5_MY_PKG_ERR H5E_DATASPACE

/**\defgroup H5S H5S
*
Expand Down
Loading