Merge pull request #192 from miniupnp/master

Fix mixed declarations and code (forbidden by ISO C90)