summaryrefslogtreecommitdiff
path: root/packages/wlan-ng/files/no-compat.patch
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2006-03-23 10:21:51 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-03-23 10:21:51 +0000
commit22a883bce5ed668de572d430ac5a03ece16f0458 (patch)
tree63be2d1736173cc0170e931e8ad2cebd70ce90bd /packages/wlan-ng/files/no-compat.patch
parentae32413b51068d64de75322bbfe0e086bbac92f7 (diff)
parentda4bffff736d1ced81a4d169d218818c60587054 (diff)
merge of 1a896e8bc4995403afa45f684796b5d56c8e5198
and 4e45961e2b4e4c3455a9d567510fc4a19841bbe5
Diffstat (limited to 'packages/wlan-ng/files/no-compat.patch')
-rw-r--r--packages/wlan-ng/files/no-compat.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/packages/wlan-ng/files/no-compat.patch b/packages/wlan-ng/files/no-compat.patch
new file mode 100644
index 0000000000..4f59f0fa5d
--- /dev/null
+++ b/packages/wlan-ng/files/no-compat.patch
@@ -0,0 +1,47 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h~no-compat
++++ linux-wlan-ng-0.2.1pre21/src/include/wlan/wlan_compat.h
+@@ -351,14 +351,14 @@
+
+ #if (LINUX_VERSION_CODE < KERNEL_VERSION(2,4,20))
+ #ifdef _LINUX_LIST_H
+-
++/*
+ static inline void list_move_tail(struct list_head *list,
+ struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add_tail(list, head);
+ }
+-
++*/
+ static inline void __list_splice(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -372,13 +372,13 @@
+ last->next = at;
+ at->prev = last;
+ }
+-
++/*
+ static inline void list_move(struct list_head *list, struct list_head *head)
+ {
+ __list_del(list->prev, list->next);
+ list_add(list, head);
+ }
+-
++*/
+ static inline void list_splice_init(struct list_head *list,
+ struct list_head *head)
+ {
+@@ -388,7 +388,6 @@
+ }
+ }
+
+-
+ #endif // LIST_H
+ #endif