Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 42eaad0

Browse files
committed
Re-order declarations to un-break the non-HAS_TEST_AND_SET case.
1 parent bdff9d8 commit 42eaad0

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

src/include/storage/s_lock.h

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.90 2001/02/18 04:39:42 tgl Exp $
12+
* $Header: /cvsroot/pgsql/src/include/storage/s_lock.h,v 1.91 2001/03/25 17:52:46 tgl Exp $
1313
*
1414
*-------------------------------------------------------------------------
1515
*/
@@ -84,13 +84,6 @@
8484

8585
#include "storage/ipc.h"
8686

87-
/* Platform-independent out-of-line support routines */
88-
extern void s_lock(volatile slock_t *lock,
89-
const char *file, const int line);
90-
extern void s_lock_sleep(unsigned spins, int timeout, int microsec,
91-
volatile slock_t *lock,
92-
const char *file, const int line);
93-
9487

9588
#if defined(HAS_TEST_AND_SET)
9689

@@ -548,4 +541,14 @@ extern int tas(volatile slock_t *lock); /* in port/.../tas.s, or
548541
#endif /* TAS */
549542

550543

544+
/****************************************************************************
545+
* Platform-independent out-of-line support routines
546+
*/
547+
548+
extern void s_lock(volatile slock_t *lock,
549+
const char *file, const int line);
550+
extern void s_lock_sleep(unsigned spins, int timeout, int microsec,
551+
volatile slock_t *lock,
552+
const char *file, const int line);
553+
551554
#endif /* S_LOCK_H */

0 commit comments

Comments
 (0)