summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane2001-03-25 17:52:46 +0000
committerTom Lane2001-03-25 17:52:46 +0000
commit42eaad0575c920ae1a95eaed4b6f7742be8e91db (patch)
treea6cf14539e33b0fef1f4036e6ed04d87462e8139 /src
parentbdff9d80dc4c2dec7542947005dd34db652bafd1 (diff)
Re-order declarations to un-break the non-HAS_TEST_AND_SET case.
Diffstat (limited to 'src')
-rw-r--r--src/include/storage/s_lock.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/include/storage/s_lock.h b/src/include/storage/s_lock.h
index 5e3a15524b4..a9be5896255 100644
--- a/src/include/storage/s_lock.h
+++ b/src/include/storage/s_lock.h
@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.90 2001/02/18 04:39:42 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.91 2001/03/25 17:52:46 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -84,13 +84,6 @@
#include "storage/ipc.h"
-/* Platform-independent out-of-line support routines */
-extern void s_lock(volatile slock_t *lock,
- const char *file, const int line);
-extern void s_lock_sleep(unsigned spins, int timeout, int microsec,
- volatile slock_t *lock,
- const char *file, const int line);
-
#if defined(HAS_TEST_AND_SET)
@@ -548,4 +541,14 @@ extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
#endif /* TAS */
+/****************************************************************************
+ * Platform-independent out-of-line support routines
+ */
+
+extern void s_lock(volatile slock_t *lock,
+ const char *file, const int line);
+extern void s_lock_sleep(unsigned spins, int timeout, int microsec,
+ volatile slock_t *lock,
+ const char *file, const int line);
+
#endif /* S_LOCK_H */