moved some stuff to include/
authorDavid Schleef <ds@schleef.org>
Sun, 15 Oct 2000 22:33:30 +0000 (22:33 +0000)
committerDavid Schleef <ds@schleef.org>
Sun, 15 Oct 2000 22:33:30 +0000 (22:33 +0000)
comedi/kern_compat.h

index 320ef752a530c6eb0096a4def2254f141b8ac676..e802748d621b563c3405e46c349a9cf4194f8ef5 100644 (file)
@@ -193,12 +193,6 @@ static inline long interruptible_sleep_on_timeout(struct wait_queue ** p,
 
 #ifndef COMPAT_V22
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,2,18)
-typedef struct wait_queue *wait_queue_head_t;
-#define DECLARE_WAITQUEUE(x,y) struct wait_queue x={y,NULL}
-#define init_waitqueue_head(x)
-#endif
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,3,10)                /* ? */
 #define file_atomic_inc(x)     ((*(x))++)
 #else