Thread: compile fix for contrib/fuzzystrmatch

compile fix for contrib/fuzzystrmatch

From
Richard Poole
Date:
I notice that contrib/fuzzystrmatch/dmetaphone.c doesn't compile cleanly
as it stands - it mixes declarations in code, C++-style. The attached
patch shifts declarations to the tops of functions and enables this file
to compile cleanly as C.

Richard

Attachment

Re: compile fix for contrib/fuzzystrmatch

From
Bruce Momjian
Date:
Patch applied.  Thanks.

---------------------------------------------------------------------------


Richard Poole wrote:
> I notice that contrib/fuzzystrmatch/dmetaphone.c doesn't compile cleanly
> as it stands - it mixes declarations in code, C++-style. The attached
> patch shifts declarations to the tops of functions and enables this file
> to compile cleanly as C.
>
> Richard

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073