Mercurial > pidgin
comparison src/protocols/bonjour/dns_sd.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 | 3db14853d9ae |
children | 8264f52a1142 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
55 } PublishType; | 55 } PublishType; |
56 | 56 |
57 /** | 57 /** |
58 * Allocate space for the dns-sd data. | 58 * Allocate space for the dns-sd data. |
59 */ | 59 */ |
60 BonjourDnsSd *bonjour_dns_sd_new(); | 60 BonjourDnsSd *bonjour_dns_sd_new(void); |
61 | 61 |
62 /** | 62 /** |
63 * Deallocate the space of the dns-sd data. | 63 * Deallocate the space of the dns-sd data. |
64 */ | 64 */ |
65 void bonjour_dns_sd_free(BonjourDnsSd *data); | 65 void bonjour_dns_sd_free(BonjourDnsSd *data); |