summaryrefslogtreecommitdiffstats
path: root/src/H5HG.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5HG.c')
-rw-r--r--src/H5HG.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5HG.c b/src/H5HG.c
index 2cf3c25..c72f47d 100644
--- a/src/H5HG.c
+++ b/src/H5HG.c
@@ -36,14 +36,14 @@
typedef struct H5HG_obj_t {
intn nrefs; /*reference count */
size_t size; /*total size of object */
- uint8 *begin; /*ptr to object into heap->chunk*/
+ uint8_t *begin; /*ptr to object into heap->chunk*/
} H5HG_obj_t;
struct H5HG_heap_t {
haddr_t addr; /*collection address */
hbool_t dirty; /*does heap need to be saved? */
size_t size; /*total size of collection */
- uint8 *chunk; /*the collection, incl. header */
+ uint8_t *chunk; /*the collection, incl. header */
intn nalloc; /*numb object slots allocated */
H5HG_obj_t *obj; /*array of object descriptions */
};
@@ -94,7 +94,7 @@ H5HG_create (H5F_t *f, size_t size)
{
H5HG_heap_t *heap = NULL;
H5HG_heap_t *ret_value = NULL;
- uint8 *p = NULL;
+ uint8_t *p = NULL;
haddr_t addr;
FUNC_ENTER (H5HG_create, NULL);
@@ -200,7 +200,7 @@ H5HG_load (H5F_t *f, const haddr_t *addr, const void __unused__ *udata1,
{
H5HG_heap_t *heap = NULL;
H5HG_heap_t *ret_value = NULL;
- uint8 *p = NULL;
+ uint8_t *p = NULL;
intn i;
size_t nalloc;
@@ -286,7 +286,7 @@ H5HG_load (H5F_t *f, const haddr_t *addr, const void __unused__ *udata1,
p += heap->obj[0].size;
} else {
intn idx;
- uint8 *begin = p;
+ uint8_t *begin = p;
UINT16DECODE (p, idx);
assert (idx<heap->nalloc);
assert (NULL==heap->obj[idx].begin);
@@ -422,7 +422,7 @@ static intn
H5HG_alloc (H5F_t *f, H5HG_heap_t *heap, int cwfsno, size_t size)
{
int idx;
- uint8 *p = NULL;
+ uint8_t *p = NULL;
size_t need = H5HG_ALIGN(H5HG_SIZEOF_OBJHDR(f) + size);
FUNC_ENTER (H5HG_alloc, FAIL);
@@ -671,7 +671,7 @@ H5HG_read (H5F_t *f, H5HG_t *hobj, void *object/*out*/)
H5HG_heap_t *heap = NULL;
intn i;
size_t size;
- uint8 *p = NULL;
+ uint8_t *p = NULL;
FUNC_ENTER (H5HG_read, NULL);
@@ -786,7 +786,7 @@ H5HG_link (H5F_t *f, H5HG_t *hobj, intn adjust)
herr_t
H5HG_remove (H5F_t *f, H5HG_t *hobj)
{
- uint8 *p=NULL, *obj_start=NULL;
+ uint8_t *p=NULL, *obj_start=NULL;
H5HG_heap_t *heap = NULL;
size_t need;
intn i;
@@ -893,7 +893,7 @@ H5HG_debug(H5F_t *f, const haddr_t *addr, FILE *stream, intn indent,
H5HG_heap_t *h = NULL;
char buf[64];
size_t size;
- uint8 *p = NULL;
+ uint8_t *p = NULL;
FUNC_ENTER(H5HG_debug, FAIL);