• Tom Lane's avatar
    We don't need to include pg_sema.h in s_lock.h anymore. · 220b3433
    Tom Lane authored
    Minor improvement to commit daa7527a:
    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.
    220b3433
spin.c 2.3 KB