mirror of
https://github.com/postgres/postgres.git
synced 2025-07-11 10:01:57 +03:00
Clean up includes of s_lock.h.
Users of spinlocks should use spin.h, not s_lock.h. And lwlock.h hasn't utilized spinlocks for quite a while. Discussion: https://postgr.es/m/20200618183041.upyrd25eosecyf3x@alap3.anarazel.de
This commit is contained in:
@ -35,7 +35,6 @@
|
|||||||
#include "common/username.h"
|
#include "common/username.h"
|
||||||
#include "port/atomics.h"
|
#include "port/atomics.h"
|
||||||
#include "postmaster/postmaster.h"
|
#include "postmaster/postmaster.h"
|
||||||
#include "storage/s_lock.h"
|
|
||||||
#include "storage/spin.h"
|
#include "storage/spin.h"
|
||||||
#include "tcop/tcopprot.h"
|
#include "tcop/tcopprot.h"
|
||||||
#include "utils/help_config.h"
|
#include "utils/help_config.h"
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#define CONDITION_VARIABLE_H
|
#define CONDITION_VARIABLE_H
|
||||||
|
|
||||||
#include "storage/proclist_types.h"
|
#include "storage/proclist_types.h"
|
||||||
#include "storage/s_lock.h"
|
#include "storage/spin.h"
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,6 @@
|
|||||||
|
|
||||||
#include "port/atomics.h"
|
#include "port/atomics.h"
|
||||||
#include "storage/proclist_types.h"
|
#include "storage/proclist_types.h"
|
||||||
#include "storage/s_lock.h"
|
|
||||||
|
|
||||||
struct PGPROC;
|
struct PGPROC;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user