Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit42eaad0

Browse files
committed
Re-order declarations to un-break the non-HAS_TEST_AND_SET case.
1 parentbdff9d8 commit42eaad0

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-
externvoids_lock(volatileslock_t*lock,
89-
constchar*file,constintline);
90-
externvoids_lock_sleep(unsignedspins,inttimeout,intmicrosec,
91-
volatileslock_t*lock,
92-
constchar*file,constintline);
93-
9487

9588
#if defined(HAS_TEST_AND_SET)
9689

@@ -548,4 +541,14 @@ extern inttas(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+
externvoids_lock(volatileslock_t*lock,
549+
constchar*file,constintline);
550+
externvoids_lock_sleep(unsignedspins,inttimeout,intmicrosec,
551+
volatileslock_t*lock,
552+
constchar*file,constintline);
553+
551554
#endif/* S_LOCK_H */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp