ovs-atomic: atomic_load() must take a non-const argument.
authorBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 17:46:15 +0000 (10:46 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 20 Aug 2013 22:15:13 +0000 (15:15 -0700)
commit5675cb4cbd51351a2aaa4c7c7470cb2ea21eedd5
tree9afefbd3763b5c56dc14b34e394d9647e9b350bc
parent2d344ba5be310b085806b6e6b80833039465722b
ovs-atomic: atomic_load() must take a non-const argument.

C11 says that atomic_load() requires a non-const argument, and Clang
enforces that.  This fixes warnings with FreeBSD <stdatomic.h> that uses
the Clang extensions.

Reported-by: Ed Maste <emaste@freebsd.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Ed Maste <emaste@freebsd.org>
lib/bfd.c
lib/cfm.c
lib/ovs-thread.h