X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_allocator.h;h=0dacd9f75b5e00237d9becad9e72e62e12e6e6d1;hp=1212081f6c7c2f011f503d42ab017b44489e2f66;hb=HEAD;hpb=e33554a67753729f6b74677473cf0ec3b8d35a7e diff --git a/yaffs_allocator.h b/yaffs_allocator.h index 1212081..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_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 *yaffs_alloc_raw_tnode(yaffs_Device *dev); -void yaffs_free_raw_tnode(yaffs_Device *dev, yaffs_Tnode *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