9
0
Fork 0

Do not include unneeded linux/stddef.h in list.h

This commit is contained in:
Sascha Hauer 2007-10-11 22:03:12 +02:00
parent 4d2a896a7b
commit 3712bf5d0a
1 changed files with 4 additions and 6 deletions

View File

@ -1,12 +1,6 @@
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
#include <linux/stddef.h>
#define LIST_POISON1 ((void *) 0x00100100)
#define LIST_POISON2 ((void *) 0x00200200)
static inline void prefetch(const void *x) {;}
/*
* Simple doubly linked list implementation.
*
@ -17,6 +11,10 @@ static inline void prefetch(const void *x) {;}
* using the generic single-entry routines.
*/
#define LIST_POISON1 ((void *) 0x00100100)
#define LIST_POISON2 ((void *) 0x00200200)
static inline void prefetch(const void *x) {;}
struct list_head {
struct list_head *next, *prev;
};