mirror of
https://github.com/postgres/postgres.git
synced 2025-09-03 15:22:11 +03:00
Move slock_t typdefs into s_lock.h from include/port files for
centralization and easier maintanence.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.19 2003/12/23 00:32:06 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/storage/lmgr/s_lock.c,v 1.20 2003/12/23 03:31:30 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -17,7 +17,6 @@
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "storage/s_lock.h"
|
||||
|
||||
|
||||
@@ -118,6 +117,9 @@ s_lock(volatile slock_t *lock, const char *file, int line)
|
||||
* Various TAS implementations that cannot live in s_lock.h as no inline
|
||||
* definition exists (yet).
|
||||
* In the future, get rid of tas.[cso] and fold it into this file.
|
||||
*
|
||||
* If you change something here, you have to modify s_lock.h because
|
||||
* the definitions for these is split between this file and s_lock.h.
|
||||
*/
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user