cmph: Remove C99ism and other fixes
authorChun-wei Fan <fanchunwei@src.gnome.org>
Fri, 10 Aug 2012 03:43:02 +0000 (11:43 +0800)
committerColin Walters <walters@verbum.org>
Sat, 27 Oct 2012 16:06:09 +0000 (12:06 -0400)
commiteccd4e379ac345cbf6f67b8b764491bf8e756e10
treef46f93ab6750275079ce777583fbccb0b63e7ca1
parent04d10dce6f2d1d7ddb4ec9b3ecd5ef21abda2851
cmph: Remove C99ism and other fixes

...So that it will compile on non-C99 compilers.  The changes are mainly
moving the variable declarations to the start of the resecptive blocks.

Also, replace the use of buflen in chd.c as it might not be defined for all
platforms, instead using packed_cr_size as it seems to represent the value
that is to be printed/displayed by the debugging output.

https://bugzilla.gnome.org/show_bug.cgi?id=681820
girepository/cmph/bdz.c
girepository/cmph/bdz_ph.c
girepository/cmph/bmz.c
girepository/cmph/bmz8.c
girepository/cmph/brz.c
girepository/cmph/chd.c
girepository/cmph/chd_ph.c
girepository/cmph/chm.c
girepository/cmph/compressed_rank.c
girepository/cmph/compressed_seq.c
girepository/cmph/fch.c