summaryrefslogtreecommitdiff
path: root/irc/ezbounce/files/patch-linkedlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc/ezbounce/files/patch-linkedlist.h')
-rw-r--r--irc/ezbounce/files/patch-linkedlist.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/irc/ezbounce/files/patch-linkedlist.h b/irc/ezbounce/files/patch-linkedlist.h
new file mode 100644
index 000000000000..be5f1a3a74e6
--- /dev/null
+++ b/irc/ezbounce/files/patch-linkedlist.h
@@ -0,0 +1,20 @@
+--- lib/linkedlist.h.orig Mon Aug 16 16:53:58 2004
++++ lib/linkedlist.h Mon Aug 16 17:08:25 2004
+@@ -89,7 +89,7 @@
+ list_iterator(__list_core * x) : __list_iter(x) { }
+ T * next() { return (T *) __list_iter::next(); }
+ T * remove() { return (T *) __list_iter::remove(); }
+- T * get(void) { return (T *) __list_iter::get(); }
++ //T * get(void) { return (T *) __list_iter::get(); }
+ T * set(int x) { return (T *) __list_iter::set(x); }
+ };
+
+@@ -97,7 +97,7 @@
+ {
+ public:
+ int add(T *x) { return __list_core::add((void *) x); }
+- int add(int w, T * x) { return __list_core::insert(w, (void *) x); }
++ //int add(int w, T * x) { return __list_core::insert(w, (void *) x); }
+ T * get(int idx) { return (T *) __list_core::get(idx); }
+ T * remove(int idx) { return (T *) __list_core::remove(idx); }
+ bool remove(T * d) { return __list_core::remove(d); }