diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-08 20:09:07 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-08 20:09:07 (GMT) |
commit | 390f1d02846803abfd46d30b3bd27894a30698c6 (patch) | |
tree | aa0269135e97f1e92f0c33d970dac519d5025532 /src/H5Aprivate.h | |
parent | 3fff86acfa11ab756a8f72f3a30478677fb7bcf6 (diff) | |
download | hdf5-390f1d02846803abfd46d30b3bd27894a30698c6.zip hdf5-390f1d02846803abfd46d30b3bd27894a30698c6.tar.gz hdf5-390f1d02846803abfd46d30b3bd27894a30698c6.tar.bz2 |
[svn-r6837] Purpose:
Code cleanup.
Description:
Move many package or internal function prototypes and macro definitions
into tighter scope according to their current use.
Added more comments where appropriate.
Eliminate ancient, unused functions.
Added a couple "accessor" functions to get parts of data structures which
were moved out of scope.
Platforms tested:
h5committested
Diffstat (limited to 'src/H5Aprivate.h')
-rw-r--r-- | src/H5Aprivate.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/H5Aprivate.h b/src/H5Aprivate.h index 2323040..8d694bc 100644 --- a/src/H5Aprivate.h +++ b/src/H5Aprivate.h @@ -18,17 +18,16 @@ #ifndef _H5Aprivate_H #define _H5Aprivate_H +/* Include package's public header */ #include "H5Apublic.h" -#include "H5Gprivate.h" - -#define H5A_RESERVED_ATOMS 0 -typedef struct H5A_t H5A_t; /* Private headers needed by this file */ +#include "H5Gprivate.h" /* Groups */ + +/* Forward references of package typedefs */ +typedef struct H5A_t H5A_t; -/* Functions defined in H5A.c */ -H5_DLL H5A_t *H5A_copy(const H5A_t *old_attr); -H5_DLL herr_t H5A_close(H5A_t *attr); +/* Library private functions in package */ H5_DLL H5G_entry_t *H5A_entof(H5A_t *attr); #endif |