projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9648a91
)
Hmm, so evidently _check_lock and _clear_lock take an argument of type
author
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 16 Jul 2007 14:02:22 +0000
(14:02 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Mon, 16 Jul 2007 14:02:22 +0000
(14:02 +0000)
int not unsigned int. Third try to get grebe building without warnings...
src/include/storage/s_lock.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/s_lock.h
b/src/include/storage/s_lock.h
index 4dcdedab3988f3c3d1aa7ce890e608f4c50670d8..bf366afde47ef8683b9f7ed96e276f97c1157f0d 100644
(file)
--- a/
src/include/storage/s_lock.h
+++ b/
src/include/storage/s_lock.h
@@
-752,7
+752,7
@@
typedef abilock_t slock_t;
#include <sys/atomic_op.h>
-typedef
unsigned
int slock_t;
+typedef int slock_t;
#define TAS(lock) _check_lock((slock_t *) (lock), 0, 1)
#define S_UNLOCK(lock) _clear_lock((slock_t *) (lock), 0)