Fix deprecation warnings (Synergy, 3fc1880)

Compiling under Leopard and GCC 4.0 yields various warnings about deprecated APIs and some questionable C constructs. This commit replaces all calls to deprecated APIs with calls to new APIs, and makes other changes to eliminate C-related warnings.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Bump version numbers for Leopard series (Synergy, 3a2e8ff)
Merge branch 'master' of git.wincent.dev:[filtered]/Synergy (Synergy, 7bc11aa) →

All snippets