Thread: contrib/ sparse code cleanup

contrib/ sparse code cleanup

From
Neil Conway
Date:
[ 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

Re: contrib/ sparse code cleanup

From
Oleg Bartunov
Date:
Neil,

go ahead !

     Oleg
On Fri, 5 Nov 2004, Neil Conway wrote:

> [ 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
>
>

     Regards,
         Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

Re: contrib/ sparse code cleanup

From
Neil Conway
Date:
On Fri, 2004-11-05 at 15:21, Neil Conway wrote:
> This patch makes some cleanups to contrib/ to silence some sparse
> warnings

Applied.

-Neil