Mercurial > pidgin.yaz
diff plugins/crazychat/test.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sun, 04 Dec 2005 18:19:56 +0000 |
parents | ed017b9c532d |
children |
line wrap: on
line diff
--- a/plugins/crazychat/test.h Sun Dec 04 18:19:06 2005 +0000 +++ b/plugins/crazychat/test.h Sun Dec 04 18:19:56 2005 +0000 @@ -1,8 +1,8 @@ class Test { public: - Test(); - ~Test(); - void runTest(); + Test(void); + ~Test(void); + void runTest(void); private: asdfint fake; -}; \ No newline at end of file +};