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

Commit f219167

Browse files
committed
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
1 parent cf1234a commit f219167

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/backend/main/main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "common/username.h"
3636
#include "port/atomics.h"
3737
#include "postmaster/postmaster.h"
38-
#include "storage/s_lock.h"
3938
#include "storage/spin.h"
4039
#include "tcop/tcopprot.h"
4140
#include "utils/help_config.h"

src/include/storage/condition_variable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#define CONDITION_VARIABLE_H
2424

2525
#include "storage/proclist_types.h"
26-
#include "storage/s_lock.h"
26+
#include "storage/spin.h"
2727

2828
typedef struct
2929
{

src/include/storage/lwlock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include "port/atomics.h"
2222
#include "storage/proclist_types.h"
23-
#include "storage/s_lock.h"
2423

2524
struct PGPROC;
2625

0 commit comments

Comments
 (0)