Mercurial > pidgin
diff src/protocols/yahoo/yahoo.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 | 0aeda1869b32 |
| children | 09d4ea834370 |
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/protocols/yahoo/yahoo.h Sun Dec 04 18:19:56 2005 +0000 @@ -145,8 +145,8 @@ (((*((buf)+3) )&0x000000ff))) /* util.c */ -void yahoo_init_colorht(); -void yahoo_dest_colorht(); +void yahoo_init_colorht(void); +void yahoo_dest_colorht(void); char *yahoo_codes_to_html(const char *x); char *yahoo_html_to_codes(const char *src);
