1
0
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:
Robert Haas
2014-09-11 09:05:48 -04:00
parent 01a2bfd172
commit 68e66923ff

View File

@@ -156,7 +156,7 @@ s_lock(volatile slock_t *lock, const char *file, int line)
#ifdef USE_DEFAULT_S_UNLOCK
void
s_unlock(slock_t *lock)
s_unlock(volatile slock_t *lock)
{
#ifdef TAS_ACTIVE_WORD
/* HP's PA-RISC */