projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix sleep logic in background gc thread example
[yaffs2.git]
/
direct
/
yaffs_list.h
diff --git
a/direct/yaffs_list.h
b/direct/yaffs_list.h
index a7afaea27b13b413007ca721efd9ab0a4eebc702..68d2c67ba6679b3c866ae442162b028a8769080d 100644
(file)
--- a/
direct/yaffs_list.h
+++ b/
direct/yaffs_list.h
@@
-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-2011 Aleph One Ltd.
- * for Toby Churchill Ltd and Brightstar Engineering
+ * Copyright (C) 2002-2018 Aleph One Ltd.
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
*
* Created by Charles Manning <charles@aleph1.co.uk>
*
@@
-36,6
+35,10
@@
struct list_head {
/* Initialise a static list */
/* Initialise a static list */
+#ifdef LIST_HEAD
+#undef LIST_HEAD
+#endif
+
#define LIST_HEAD(name) \
struct list_head name = { &(name), &(name)}
#define LIST_HEAD(name) \
struct list_head name = { &(name), &(name)}