public inbox for [email protected]  
help / color / mirror / Atom feed
From: Heikki Linnakangas <[email protected]>
To: [email protected]
Subject: pgsql: Fix compiler warnings about typedef redefinitions
Date: Thu, 06 Mar 2025 01:10:44 +0000
Message-ID: <[email protected]> (raw)

Fix compiler warnings about typedef redefinitions

Clang with -Wtypedef-redefinition produced warnings:

    src/include/storage/latch.h:122:3: error: redefinition of typedef 'Latch' is a C11 feature [-Werror,-Wtypedef-redefinition]

Per buildfarm

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/39de4f157d3ac0b889bb276c2487fe160578f967

Modified Files
--------------
src/include/storage/waiteventset.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)



reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: pgsql: Fix compiler warnings about typedef redefinitions
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox