Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes: > ! extern volatile slock_t pg_atomic_cas(volatile slock_t *lock, slock_t with,> ! slock_t cmp);
Surely it is not useful to mark the result of a function as volatile.
regards, tom lane