summaryrefslogtreecommitdiff
path: root/lib/libdrm/configure
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2015-08-28 14:25:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2015-08-28 14:25:41 +0000
commit02d6d126d327b3958a2b73b4713f65c3a348de76 (patch)
tree13ecc2fe00b4c8c8677d3a62a708364e60a79f32 /lib/libdrm/configure
parent60b89af1ae1e9627b8a460d30d8b1626da33146e (diff)
regen
Diffstat (limited to 'lib/libdrm/configure')
-rw-r--r--lib/libdrm/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdrm/configure b/lib/libdrm/configure
index 6006db6f7..3964f0887 100644
--- a/lib/libdrm/configure
+++ b/lib/libdrm/configure
@@ -12994,8 +12994,8 @@ else
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
- int atomic_add(int i) { return __sync_fetch_and_add (&i, 1); }
- int atomic_cmpxchg(int i, int j, int k) { return __sync_val_compare_and_swap (&i, j, k); }
+ int atomic_add(int *i) { return __sync_fetch_and_add (i, 1); }
+ int atomic_cmpxchg(int *i, int j, int k) { return __sync_val_compare_and_swap (i, j, k); }
int
main ()