contrib/ sparse code cleanup - Mailing list pgsql-patches

From Neil Conway
Subject contrib/ sparse code cleanup
Date
Msg-id 1099628461.10449.35.camel@localhost.localdomain
Whole thread Raw
Responses Re: contrib/ sparse code cleanup  (Oleg Bartunov <oleg@sai.msu.su>)
Re: contrib/ sparse code cleanup  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
[ Oleg, I've CC'd you because this patch makes some modifications,
albeit trivial ones, to tsearch2; let me know if you object to me
applying it ]

This patch makes some cleanups to contrib/ to silence some sparse
warnings:

- remove pointless "extern" keyword from some function definitions in
contrib/tsearch2

- use "NULL" not "0" as NULL pointer in contrib/tsearch,
contrib/tsearch2, contrib/pgbench, and contrib/vacuumlo

Barring any objections I will apply this tomorrow.

-Neil


Attachment

pgsql-patches by date:

Previous
From: Christopher Browne
Date:
Subject: Re: CVS should die
Next
From: Neil Conway
Date:
Subject: GiST: memory allocation, cleanup