Mercurial > pidgin
comparison src/protocols/irc/dcc_send.c @ 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 | de798f2f4bf1 |
| children | d5b8f4dc1622 |
comparison
equal
deleted
inserted
replaced
| 12322:c7ae1fd0827d | 12323:fc464a0abccc |
|---|---|
| 212 | 212 |
| 213 | 213 |
| 214 } | 214 } |
| 215 } | 215 } |
| 216 | 216 |
| 217 gssize irc_dccsend_send_write(const guchar *buffer, size_t size, GaimXfer *xfer) | 217 static gssize irc_dccsend_send_write(const guchar *buffer, size_t size, GaimXfer *xfer) |
| 218 { | 218 { |
| 219 gssize s; | 219 gssize s; |
| 220 | 220 |
| 221 s = MIN(gaim_xfer_get_bytes_remaining(xfer), size); | 221 s = MIN(gaim_xfer_get_bytes_remaining(xfer), size); |
| 222 if (!s) | 222 if (!s) |
