git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 01a2bfd)
Add missing volatile qualifier.
2014年9月11日 13:05:48 +0000 (09:05 -0400)
2014年9月11日 13:07:32 +0000 (09:07 -0400)
Yet another silly mistake in 0709b7ee72e4bc71ad07b7120acd117265ab51d0,
again found by buildfarm member castoroides.


diff --git a/src/backend/storage/lmgr/s_lock.c b/src/backend/storage/lmgr/s_lock.c
index e8d3502775155176785344adcf2c811ae4067dc6..1a5575782b96b17309b11e3527026ec016afdb41 100644 (file)
--- a/src/backend/storage/lmgr/s_lock.c
+++ b/src/backend/storage/lmgr/s_lock.c
@@ -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 */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /