mirror of
https://github.com/postgres/postgres.git
synced 2025-11-13 16:22:44 +03:00
Add missing volatile qualifier.
Yet another silly mistake in 0709b7ee72,
again found by buildfarm member castoroides.
This commit is contained in:
@@ -156,7 +156,7 @@ s_lock(volatile slock_t *lock, const char *file, int line)
|
|||||||
|
|
||||||
#ifdef USE_DEFAULT_S_UNLOCK
|
#ifdef USE_DEFAULT_S_UNLOCK
|
||||||
void
|
void
|
||||||
s_unlock(slock_t *lock)
|
s_unlock(volatile slock_t *lock)
|
||||||
{
|
{
|
||||||
#ifdef TAS_ACTIVE_WORD
|
#ifdef TAS_ACTIVE_WORD
|
||||||
/* HP's PA-RISC */
|
/* HP's PA-RISC */
|
||||||
|
|||||||
Reference in New Issue
Block a user