diff options
author | Xiangfu Liu <xiangfu@sharism.cc> | 2011-12-28 14:48:19 +0800 |
---|---|---|
committer | Xiangfu Liu <xiangfu@sharism.cc> | 2011-12-28 14:48:19 +0800 |
commit | acb14471a54865f1d1a018b38bbd2c3cc7015701 (patch) | |
tree | 7155a79eae2a03bc3a3e4a0cd49b597f5dc4eb87 /direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h | |
parent | 07a447def19f511fcd229886ec0ee88bf1fa884f (diff) | |
parent | 121c055437f23d9d6bc7b57d36ecf128b447013f (diff) |
Merge branch 'upstream'
Diffstat (limited to 'direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h')
-rw-r--r-- | direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h b/direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h new file mode 100644 index 0000000..02517cb --- /dev/null +++ b/direct/timothy_tests/yaffs_and_linux_mirror_tests/yaffs_test_truncate.h @@ -0,0 +1,26 @@ +/* + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2011 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Timothy Manning <timothy@yaffs.net> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + +#ifndef __yaffs_test_truncate_h__ +#define __yaffs_test_truncate_h__ +#include <sys/types.h> +#include <sys/stat.h> +#include <fcntl.h> +#include "yaffsfs.h" +#include "lib.h" + +int yaffs_test_truncate(arg_temp *args_struct); + +#endif |