Make convttf build with C89 compilers.
commit0b2a91e2401b6d57125e2266ab82a728029ff8a4
authorbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 9 Apr 2011 20:35:17 +0000 (9 20:35 +0000)
committerbluebrother <bluebrother@a1c6a512-1295-4272-9138-f99709370657>
Sat, 9 Apr 2011 20:35:17 +0000 (9 20:35 +0000)
tree3a847aa926a6d895336dcd01239c243722097bd6
parente3d59a2415044e980ce2f364b3ad47dace2c0fc9
Make convttf build with C89 compilers.

- Move variable declarations to the top of blocks to be compatible with C89
  compilers (like MSVS).
- Remove unnecessary Windows includes.
- Paths on Windows usually use backslash as path delimiter so accept that as
  well.
- Rename some variables to avoid shadowing functions (like index()).

No functional changes.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29698 a1c6a512-1295-4272-9138-f99709370657
tools/convttf.c