X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_allocator.h;h=0dacd9f75b5e00237d9becad9e72e62e12e6e6d1;hp=777f3b01c42078b03374c5abbecc0d4c8d8e76a1;hb=3439fa4e60dd9799766b2c101f799ed9e565b632;hpb=41573908f821bcb40750e7c069ea8f5178f630e5 diff --git a/yaffs_allocator.h b/yaffs_allocator.h index 777f3b0..0dacd9f 100644 --- a/yaffs_allocator.h +++ b/yaffs_allocator.h @@ -1,8 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. - * for Toby Churchill Ltd and Brightstar Engineering + * Copyright (C) 2002-2018 Aleph One Ltd. * * Created by Charles Manning * @@ -18,13 +17,13 @@ #include "yaffs_guts.h" -void yaffs_init_raw_tnodes_and_objs(yaffs_dev_t *dev); -void yaffs_deinit_raw_tnodes_and_objs(yaffs_dev_t *dev); +void yaffs_init_raw_tnodes_and_objs(struct yaffs_dev *dev); +void yaffs_deinit_raw_tnodes_and_objs(struct yaffs_dev *dev); -yaffs_tnode_t *yaffs_alloc_raw_tnode(yaffs_dev_t *dev); -void yaffs_free_raw_tnode(yaffs_dev_t *dev, yaffs_tnode_t *tn); +struct yaffs_tnode *yaffs_alloc_raw_tnode(struct yaffs_dev *dev); +void yaffs_free_raw_tnode(struct yaffs_dev *dev, struct yaffs_tnode *tn); -yaffs_obj_t *yaffs_alloc_raw_obj(yaffs_dev_t *dev); -void yaffs_free_raw_obj(yaffs_dev_t *dev, yaffs_obj_t *obj); +struct yaffs_obj *yaffs_alloc_raw_obj(struct yaffs_dev *dev); +void yaffs_free_raw_obj(struct yaffs_dev *dev, struct yaffs_obj *obj); #endif