Removes unused definitions from module headers (#1624)

This commit is contained in:
Dana Robinson 2022-04-11 11:06:37 -07:00 committed by GitHub
parent d433f0f7a6
commit 29de83ab8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
38 changed files with 76 additions and 115 deletions

View File

@ -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 */

View File

@ -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
*

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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
*

View File

@ -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 */

View File

@ -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
*

View File

@ -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
*

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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
*

View File

@ -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
*

View File

@ -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 */

View File

@ -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 */

View File

@ -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 */

View File

@ -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) \

View File

@ -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
*

View File

@ -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
*

View File

@ -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 */

View File

@ -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
*

View File

@ -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
*

View File

@ -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 */

View File

@ -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
*

View File

@ -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
*

View File

@ -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 */

View File

@ -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

View File

@ -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 */

View File

@ -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 */

View File

@ -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
*

View File

@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5T_MODULE
#define H5_MY_PKG H5T
#define H5_MY_PKG_ERR H5E_DATATYPE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5T
#define H5_MY_PKG_ERR H5E_DATATYPE
/**\defgroup H5T H5T
*

View File

@ -23,9 +23,8 @@
* reporting macros.
*/
#define H5VL_MODULE
#define H5_MY_PKG H5VL
#define H5_MY_PKG_ERR H5E_VOL
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5VL
#define H5_MY_PKG_ERR H5E_VOL
/**\defgroup H5VL H5VL
*

View File

@ -25,9 +25,8 @@
* reporting macros.
*/
#define H5Z_MODULE
#define H5_MY_PKG H5Z
#define H5_MY_PKG_ERR H5E_PLINE
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5Z
#define H5_MY_PKG_ERR H5E_PLINE
/**\defgroup H5Z H5Z
*

View File

@ -22,9 +22,8 @@
* reporting macros.
*/
#define H5_MODULE
#define H5_MY_PKG H5
#define H5_MY_PKG_ERR H5E_LIB
#define H5_MY_PKG_INIT YES
#define H5_MY_PKG H5
#define H5_MY_PKG_ERR H5E_LIB
/**\defgroup H5 H5
*