compile fix for contrib/fuzzystrmatch

Started by Richard Poolealmost 22 years ago2 messagespatches
Jump to latest
#1Richard Poole
rp@guests.deus.net

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

Attachments:

dmetaphone.c.difftext/plain; charset=us-asciiDownload+38-32
#2Bruce Momjian
bruce@momjian.us
In reply to: Richard Poole (#1)
Re: compile fix for contrib/fuzzystrmatch

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