1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-16 15:02:33 +03:00

We don't need to include pg_sema.h in s_lock.h anymore.

Minor improvement to commit daa7527afc:
s_lock.h no longer has any need to mention PGSemaphoreData, so we can
rip out the #include that supplies that.  In a non-HAVE_SPINLOCKS
build, this doesn't really buy much since we still need the #include
in spin.h --- but everywhere else, this reduces #include footprint by
some trifle, and helps keep the different locking facilities separate.
This commit is contained in:
Tom Lane
2014-01-08 20:58:22 -05:00
parent 080b7db72e
commit 220b34331f
3 changed files with 4 additions and 3 deletions

View File

@@ -26,6 +26,7 @@
#include "miscadmin.h"
#include "replication/walsender.h"
#include "storage/lwlock.h"
#include "storage/pg_sema.h"
#include "storage/spin.h"