pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum
Date
Msg-id 20090325150325.6DC01754ADE@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix old thinko in pgp.h: the idea is to declare some named enum types,
not global variables of anonymous enum types.  This didn't actually hurt
much because most linkers will just merge the duplicated definitions ...
but some will complain.  Per bug #4731 from Ceriel Jacobs.

Backpatch to 8.1 --- the declarations don't exist before that.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/contrib/pgcrypto:
        pgp.h (r1.4 -> r1.4.4.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/pgcrypto/pgp.h?r1=1.4&r2=1.4.4.1)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix old thinko in pgp.h: the idea is to declare some named enum