summaryrefslogtreecommitdiff
path: root/src/linkedlist.c
diff options
context:
space:
mode:
authorJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 02:02:02 +0100
committerJérémie Courrèges-Anglas <jca@wxcvbn.org>2014-02-20 02:02:02 +0100
commit59f798c7c52247c7b3f565f96639d1af34ac70b5 (patch)
tree8360c61dc8c77def27dcbb8283cfd7334d43d9db /src/linkedlist.c
parent4bdb7748383f6cc59c397fdce05192e59571de5f (diff)
downloadratpoison-59f798c7c52247c7b3f565f96639d1af34ac70b5.zip
Test for __builtin_prefetch, not for __GNUC__.
* Fixes build with pcc.
Diffstat (limited to 'src/linkedlist.c')
-rw-r--r--src/linkedlist.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/linkedlist.c b/src/linkedlist.c
index ae3d143..adedf8a 100644
--- a/src/linkedlist.c
+++ b/src/linkedlist.c
@@ -24,12 +24,6 @@
#include "linkedlist.h"
-#if __GNUC__ <= 3
-void
-prefetch(const void *x)
-{;}
-#endif
-
/*
* Insert a new entry between two known consecutive entries.
*