some linting on function definitions
authorPhil <n0-1@users.sourceforge.net>
Sat, 29 Mar 2008 02:01:03 +0000 (02:01 +0000)
committerPhil <n0-1@users.sourceforge.net>
Sat, 29 Mar 2008 02:01:03 +0000 (02:01 +0000)
commite306a2c2e80e6b0fddf343d1d3a0604215a9da25
tree6e3c4565b8a6a6309a0d49d76b85afbbde2b5aa7
parent59c5fe4d11998828b269192f140b8e91e26659d6
some linting on function definitions

* instead of empty args "void" should always be specified.
  Using this, the compiler can detect incorrect function calls,
  like with update_stuff().
* No args seems to be interpreted as "unspecified args" by the
  compiler, as with update_mail_count(). So no checking for
  correctness of arguments when calling was done at all.
* This is not complete yet, as I still don't have any BSD for
  testing.

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@1055 7f574dfc-610e-0410-a909-a81674777703
12 files changed:
ChangeLog
src/common.c
src/conky.c
src/conky.h
src/diskio.c
src/diskio.h
src/fs.c
src/linux.c
src/rss.c
src/top.c
src/users.c
src/x11.c