summaryrefslogtreecommitdiff
path: root/src/first.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2019-06-06 02:56:37 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2019-06-06 02:56:37 -0400
commitcc492d438b573764460a8c8c1a9d2c395984b7bb (patch)
tree5771ba9476df7836e95586c0941ec31d86cca474 /src/first.h
parent1300815688497ed2a0b778db496cdec3e90e526a (diff)
downloadlighttpd-git-cc492d438b573764460a8c8c1a9d2c395984b7bb.tar.gz
[core] correct __attribute_pure__ syntax
Diffstat (limited to 'src/first.h')
-rw-r--r--src/first.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/first.h b/src/first.h
index 5dc1ad03..4c11a3a3 100644
--- a/src/first.h
+++ b/src/first.h
@@ -132,9 +132,9 @@
#ifndef __attribute_pure__
#if __has_attribute(pure) \
|| __GNUC_PREREQ(2,96)
-#define __attribute_pure__(x) __attribute__((__pure__ x))
+#define __attribute_pure__ __attribute__((__pure__))
#else
-#define __attribute_pure__(x)
+#define __attribute_pure__
#endif
#endif