Mercurial > pidgin.yaz
comparison src/stun.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 | 90d7e0f342fa |
children | 5f65a0cca87c |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
74 * @return a struct stun_nattype which includes the public IP and the type | 74 * @return a struct stun_nattype which includes the public IP and the type |
75 * of NAT or NULL is discovery would block | 75 * of NAT or NULL is discovery would block |
76 */ | 76 */ |
77 struct stun_nattype *gaim_stun_discover(StunCallback cb); | 77 struct stun_nattype *gaim_stun_discover(StunCallback cb); |
78 | 78 |
79 void gaim_stun_init(); | 79 void gaim_stun_init(void); |
80 | 80 |
81 /*@}*/ | 81 /*@}*/ |
82 | 82 |
83 #endif /* _GAIM_STUN_H_ */ | 83 #endif /* _GAIM_STUN_H_ */ |
84 | 84 |