Date: Tue, 11 Sep 2018 15:56:06 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r338588 - stable/11/sys/i386/include Message-ID: <201809111556.w8BFu6Uk007123@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Tue Sep 11 15:56:06 2018 New Revision: 338588 URL: https://svnweb.freebsd.org/changeset/base/338588 Log: Fix compile warning about missing prototype when WANT_FUNCTIONS is defined. This is a direct commit. Found by: bde @ Sponsored by: Mellanox Technologies Modified: stable/11/sys/i386/include/atomic.h Modified: stable/11/sys/i386/include/atomic.h ============================================================================== --- stable/11/sys/i386/include/atomic.h Tue Sep 11 15:00:16 2018 (r338587) +++ stable/11/sys/i386/include/atomic.h Tue Sep 11 15:56:06 2018 (r338588) @@ -365,6 +365,8 @@ atomic_thread_fence_seq_cst(void) #ifdef WANT_FUNCTIONS int atomic_cmpset_64_i386(volatile uint64_t *, uint64_t, uint64_t); int atomic_cmpset_64_i586(volatile uint64_t *, uint64_t, uint64_t); +int atomic_fcmpset_64_i386(volatile uint64_t *, uint64_t *, uint64_t); +int atomic_fcmpset_64_i586(volatile uint64_t *, uint64_t *, uint64_t); uint64_t atomic_load_acq_64_i386(volatile uint64_t *); uint64_t atomic_load_acq_64_i586(volatile uint64_t *); void atomic_store_rel_64_i386(volatile uint64_t *, uint64_t);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809111556.w8BFu6Uk007123>