Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68e6692

Browse files
committed
Add missing volatile qualifier.
Yet another silly mistake in 0709b7e, again found by buildfarm member castoroides.
1 parent 01a2bfd commit 68e6692

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/lmgr/s_lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ s_lock(volatile slock_t *lock, const char *file, int line)
156156

157157
#ifdef USE_DEFAULT_S_UNLOCK
158158
void
159-
s_unlock(slock_t *lock)
159+
s_unlock(volatile slock_t *lock)
160160
{
161161
#ifdef TAS_ACTIVE_WORD
162162
/* HP's PA-RISC */

0 commit comments

Comments
 (0)