contrib/ sparse code cleanup
[ 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
Attachments:
contrib_sparse_cleanup-2.patchtext/x-patch; charset=ISO-8859-1; name=contrib_sparse_cleanup-2.patchDownload+39-39
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/vacuumloBarring 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