aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dancer/files/patch-src__list.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /irc/dancer/files/patch-src__list.h
parentf474a16cfbfad1844b9c50e45e36a3a77f0c59b5 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Diffstat (limited to 'irc/dancer/files/patch-src__list.h')
-rw-r--r--irc/dancer/files/patch-src__list.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/irc/dancer/files/patch-src__list.h b/irc/dancer/files/patch-src__list.h
new file mode 100644
index 000000000000..59e8dd3fb7af
--- /dev/null
+++ b/irc/dancer/files/patch-src__list.h
@@ -0,0 +1,15 @@
+--- src/list.h.orig Mon Nov 13 03:42:45 2000
++++ src/list.h Thu Oct 16 22:36:07 2003
+@@ -52,10 +52,10 @@
+ ((NULL == (list)) || (NULL == ((header *)(list))->next))
+
+ /* NewList creates a header for a list of the specified type */
+-#define NewList(type) ( ##type## *)calloc(1, sizeof( ##type## ))
++#define NewList(type) (type *)calloc(1, sizeof(type))
+
+ /* NewEntry allocates a new entry of the specified type */
+-#define NewEntry(type) ( ##type## *)calloc(1, sizeof( ##type## ))
++#define NewEntry(type) (type *)calloc(1, sizeof(type))
+
+ #define RemoveFirst(list) RemoveEntry((list), (list).h->next)
+ #define RemoveLast(list) RemoveEntry((list), (list).h->prev)