projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing definition for yaffs_strcmp
[yaffs2.git]
/
direct
/
python
/
yaffs_python_helper.c
diff --git
a/direct/python/yaffs_python_helper.c
b/direct/python/yaffs_python_helper.c
index 14e894bede4404a47e261ff6a121cfc7bab500d3..e473bb3295c09ec12802b7f8098e80c62de9aed6 100644
(file)
--- a/
direct/python/yaffs_python_helper.c
+++ b/
direct/python/yaffs_python_helper.c
@@
-1,8
+1,7
@@
-
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-27,6
+26,8
@@
int simulate_power_failure;
int random_seed;
int simulate_power_failure;
int random_seed;
+const char * yaffs_error_to_str(int err); /*this is not part of yaffs. it is a specialy built file for converting error codes to text*/
+
int yaffs_print_constants(void)
{
printf( "O_CREAT........%d\n",O_CREAT);
int yaffs_print_constants(void)
{
printf( "O_CREAT........%d\n",O_CREAT);
@@
-45,8
+46,6
@@
int yaffs_O_WRONLY(void) { return O_WRONLY;}
int yaffs_O_RDWR(void) { return O_RDWR;}
int yaffs_O_TRUNC(void) { return O_TRUNC;}
int yaffs_O_RDWR(void) { return O_RDWR;}
int yaffs_O_TRUNC(void) { return O_TRUNC;}
-int yaffs_set_trace(unsigned int tm) { return yaffs_traceMask=tm; }
-int yaffs_get_trace(void) { return yaffs_traceMask; }
int yaffs_S_IFMT(void){return S_IFMT;}
int yaffs_S_IFLNK(void){return S_IFLNK;}
int yaffs_S_IFMT(void){return S_IFMT;}
int yaffs_S_IFLNK(void){return S_IFLNK;}