X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_allocator.h;h=a8cc3226421f7af8b923ca1bb494b9e56772a9e7;hp=ec9e1c7b5df9077d37aaa0f006384abaf4c6e4c3;hb=21b2dedaa32ab309f6d1daec966528b7586bd207;hpb=70c6bf2ff57c8a2fb778accdd5b4227abf273674 diff --git a/yaffs_allocator.h b/yaffs_allocator.h index ec9e1c7..a8cc322 100644 --- a/yaffs_allocator.h +++ b/yaffs_allocator.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2010 Aleph One Ltd. + * Copyright (C) 2002-2011 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -18,13 +18,13 @@ #include "yaffs_guts.h" -void yaffs_init_raw_tnodes_and_objs(yaffs_Device *dev); -void yaffs_deinit_raw_tnodes_and_objs(yaffs_Device *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_Device *dev); -void yaffs_free_raw_tnode(yaffs_Device *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_Object *yaffs_alloc_raw_obj(yaffs_Device *dev); -void yaffs_free_raw_obj(yaffs_Device *dev, yaffs_Object *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