Commit 42eaad05 authored by Tom Lane's avatar Tom Lane

Re-order declarations to un-break the non-HAS_TEST_AND_SET case.

parent bdff9d80
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* *
* *
* IDENTIFICATION * 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 @@ ...@@ -84,13 +84,6 @@
#include "storage/ipc.h" #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) #if defined(HAS_TEST_AND_SET)
...@@ -548,4 +541,14 @@ extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or ...@@ -548,4 +541,14 @@ extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
#endif /* TAS */ #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 */ #endif /* S_LOCK_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment