diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-15 19:22:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-05-15 19:22:33 (GMT) |
commit | b496ac1482d97086112c890a0154ce9e1522a815 (patch) | |
tree | f3c3ae6ccff7a59bb73e8fe9433f656dfaea680c /src/H5HL.c | |
parent | f36a66b6fb7fb2eed7c8656972d6ce8ec9e75f8c (diff) | |
download | hdf5-b496ac1482d97086112c890a0154ce9e1522a815.zip hdf5-b496ac1482d97086112c890a0154ce9e1522a815.tar.gz hdf5-b496ac1482d97086112c890a0154ce9e1522a815.tar.bz2 |
[svn-r6878] Purpose:
Code cleanup
Description:
Limit the scope on more function prototypes/macros/typedefs.
Platforms tested:
FreeBSD 4.8 (sleipnir)
h5committest not necessary.
Diffstat (limited to 'src/H5HL.c')
-rw-r--r-- | src/H5HL.c | 29 |
1 files changed, 18 insertions, 11 deletions
@@ -30,15 +30,14 @@ */ #define H5F_PACKAGE /*suppress error about including H5Fpkg */ -#include "H5private.h" /*library */ -#include "H5ACprivate.h" /*cache */ -#include "H5Eprivate.h" /*error handling */ -#include "H5Fpkg.h" /*file access */ -#include "H5FLprivate.h" /*Free Lists */ -#include "H5HLprivate.h" /*self */ -#include "H5MFprivate.h" /*file memory management */ -#include "H5MMprivate.h" /*core memory management */ -#include "H5Pprivate.h" /*property lists */ +#include "H5private.h" /* Generic Functions */ +#include "H5ACprivate.h" /* Metadata cache */ +#include "H5Eprivate.h" /* Error handling */ +#include "H5Fpkg.h" /* File access */ +#include "H5FLprivate.h" /* Free lists */ +#include "H5HLprivate.h" /* Local Heaps */ +#include "H5MFprivate.h" /* File memory management */ +#include "H5MMprivate.h" /* Memory management */ /* Pablo information */ #define PABLO_MASK H5HL_mask @@ -72,6 +71,12 @@ typedef struct H5HL_t { } H5HL_t; /* PRIVATE PROTOTYPES */ +static void *H5HL_read(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, + void *buf); +#ifdef NOT_YET +static herr_t H5HL_write(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, + const void *buf); +#endif /* NOT_YET */ static H5HL_free_t * H5HL_remove_free(H5HL_t *heap, H5HL_free_t *fl); /* Metadata cache callbacks */ @@ -616,7 +621,7 @@ H5HL_clear(H5HL_t *heap) * The ADDR argument is passed by value. *------------------------------------------------------------------------- */ -void * +static void * H5HL_read(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, void *buf) { H5HL_t *heap = NULL; @@ -894,6 +899,7 @@ done: FUNC_LEAVE_NOAPI(ret_value); } +#ifdef NOT_YET /*------------------------------------------------------------------------- * Function: H5HL_write @@ -917,7 +923,7 @@ done: * The ADDR argument is passed by value. *------------------------------------------------------------------------- */ -herr_t +static herr_t H5HL_write(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, const void *buf) { H5HL_t *heap = NULL; @@ -944,6 +950,7 @@ H5HL_write(H5F_t *f, hid_t dxpl_id, haddr_t addr, size_t offset, size_t size, co done: FUNC_LEAVE_NOAPI(ret_value); } +#endif /* NOT_YET */ /*------------------------------------------------------------------------- |