X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Fbasic-test%2Fyaffscfg.c;h=ce86587a824c8d11bcbdacaffccfb1b8c28d1ad2;hp=590cb871d282772aacaf462ceca5dfb298bae1ca;hb=757a553001be4016e9c5d8880648d3703f34b10e;hpb=7396445d7d0d13469b9505791114b9dc6b76ffe4 diff --git a/direct/basic-test/yaffscfg.c b/direct/basic-test/yaffscfg.c index 590cb87..ce86587 100644 --- a/direct/basic-test/yaffscfg.c +++ b/direct/basic-test/yaffscfg.c @@ -42,7 +42,7 @@ void yaffsfs_Unlock(void) { } -__u32 yaffsfs_CurrentTime(void) +u32 yaffsfs_CurrentTime(void) { return 0; } @@ -67,16 +67,16 @@ void yaffsfs_LocalInitialisation(void) // /boot 2MB boot disk (flash) // /flash 14MB flash disk (flash) // NB Though /boot and /flash occupy the same physical device they -// are still disticnt "yaffs_dev_ts. You may think of these as "partitions" +// are still disticnt "struct yaffs_devs. You may think of these as "partitions" // using non-overlapping areas in the same device. // #include "yaffs_ramdisk.h" #include "yaffs_flashif.h" -static yaffs_dev_t ramDev; -static yaffs_dev_t bootDev; -static yaffs_dev_t flashDev; +static struct yaffs_dev ramDev; +static struct yaffs_dev bootDev; +static struct yaffs_dev flashDev; static yaffsfs_DeviceConfiguration yaffsfs_config[] = {