WPrefs: Cleaned dangerous function prototype usage
authorChristophe CURIS <christophe.curis@free.fr>
Sat, 11 May 2013 22:24:54 +0000 (00:24 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Sun, 12 May 2013 00:01:20 +0000 (01:01 +0100)
commit5a65dbeb3dc1fdc25c0db4f4d49da5bbe55134ab
tree2ad39bd0613e286509d968362141940bc5749dde
parent549cefc47b92da9eab98fa9074b93a1028fb52ea
WPrefs: Cleaned dangerous function prototype usage

- remove extern declaration in source file, use header instead

- add inclusion of header defining the functions of the file to
get the compiler to cross-check them

- marked static the functions that should not be visible ouside
their file
WPrefs.app/Appearance.c
WPrefs.app/Focus.c
WPrefs.app/Menu.c
WPrefs.app/MouseSettings.c
WPrefs.app/WPrefs.c
WPrefs.app/WPrefs.h
WPrefs.app/double.c
WPrefs.app/main.c
WPrefs.app/xmodifier.c