aboutsummaryrefslogtreecommitdiffstats
path: root/irc/dancer/files/patch-src__list.h
blob: 59e8dd3fb7afca528bb945418e57471af19af251 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)
e/commit/editors/dkns?h=gnome-3.26&id=a2c2b435b2424d80a395fe7c920653ce46c332d4'>commitdiffstats
path: root/editors/dkns
Commit message (Expand)AuthorAgeFilesLines
* Re-apply r368096 to allow staging as a regular userantoine2015-05-041-0/+2
* editors/dkns: update 1.94 -> 1.95robak2014-10-212-5/+3
* Allow staging as a regular userantoine2014-09-131-0/+2
* - Update to 1.94amdmi32014-04-23