X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=direct%2Fyaffscfg.h;h=72687e2ef93fe4d0e379894228b954028d9918b5;hb=cf6888f05f691aa1a357e7e94f9bf7b98174bbc3;hp=0d317fcd34f48f5e7098f1cfb896cd8c791f3ccb;hpb=4a05bdc44785a2e336ea6289d21a0918bf28a1cf;p=yaffs2.git diff --git a/direct/yaffscfg.h b/direct/yaffscfg.h index 0d317fc..72687e2 100644 --- a/direct/yaffscfg.h +++ b/direct/yaffscfg.h @@ -1,7 +1,7 @@ /* * YAFFS: Yet another Flash File System . A NAND-flash specific file system. * - * Copyright (C) 2002-2007 Aleph One Ltd. + * Copyright (C) 2002-2010 Aleph One Ltd. * for Toby Churchill Ltd and Brightstar Engineering * * Created by Charles Manning @@ -24,20 +24,21 @@ #include "yportenv.h" +#include "devextras.h" #define YAFFSFS_N_HANDLES 100 -typedef struct { +typedef struct yaffsfs_DeviceConfigurationStruct { const YCHAR *prefix; - struct yaffs_DeviceStruct *dev; + struct yaffs_dev_s *dev; } yaffsfs_DeviceConfiguration; void yaffsfs_Lock(void); void yaffsfs_Unlock(void); -__u32 yaffsfs_CurrentTime(void); +u32 yaffsfs_CurrentTime(void); void yaffsfs_SetError(int err);