summaryrefslogtreecommitdiff
path: root/net-p2p/libbt/files/patch-include__util.h
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/libbt/files/patch-include__util.h')
-rw-r--r--net-p2p/libbt/files/patch-include__util.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-p2p/libbt/files/patch-include__util.h b/net-p2p/libbt/files/patch-include__util.h
new file mode 100644
index 000000000000..8ad3b431dd7b
--- /dev/null
+++ b/net-p2p/libbt/files/patch-include__util.h
@@ -0,0 +1,12 @@
+--- include/util.h Fri Apr 16 08:41:48 2004
++++ include/util.h.new Sun May 30 14:17:54 2004
+@@ -28,9 +28,4 @@
+ typedef void (*exitfn_ptr) (int,void*);
+ int on_exit( exitfn_ptr exitfn, void* data) ;
+ #endif
+-#define malloc(s) use_btmalloc_instead
+-#define calloc(n,s) use_btcalloc_instead
+-#define realloc(p,s) use_btrealloc_instead
+-#define free(p) use_btfree_instead
+-
+ #endif