[PATCHES] Code-Cleanup: function declarations (void, and k&r style)

2007-03-14 Thread Stefan Huehner
Hi, attached patch fixes some function declarations: - () -> (void) - k&r style -> ansi C Regards, Stefan Index: src/pl/plpgsql/src/pl_funcs.c === RCS file: /projects/cvsroot/pgsql/src/pl/plpgsql/src/pl_funcs.c,v retrieving revisio

[PATCHES] Code-Cleanup: char* -> const char*

2007-03-14 Thread Stefan Huehner
Hi, attached patches marks several char* variables as const where they are initialized with constant strings. Regards, Stefan Index: src/backend/regex/regc_locale.c === RCS file: /projects/cvsroot/pgsql/src/backend/regex/regc_locale

Re: [PATCHES] Remove warning about const qualifier

2007-04-16 Thread Stefan Huehner
On Mon, Apr 16, 2007 at 02:51:55PM -0400, Tom Lane wrote: > Kris Jurka <[EMAIL PROTECTED]> writes: > > The attached patch removes this warning: > > encnames.c:511: warning: passing argument 1 of 'clean_encoding_name' > > discards qualifiers from pointer target type > > Applied, but I've not seen