comparison src/protocols/msn/directconn.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 1e6bdc7175e9
children 33bef17125c2
comparison
equal deleted inserted replaced
12322:c7ae1fd0827d 12323:fc464a0abccc
158 fcntl(fd, F_SETFL, O_NONBLOCK); 158 fcntl(fd, F_SETFL, O_NONBLOCK);
159 159
160 return fd; 160 return fd;
161 } 161 }
162 162
163 size_t 163 static size_t
164 msn_directconn_write(MsnDirectConn *directconn, 164 msn_directconn_write(MsnDirectConn *directconn,
165 const char *data, size_t len) 165 const char *data, size_t len)
166 { 166 {
167 char *buffer, *tmp; 167 char *buffer, *tmp;
168 size_t buf_size; 168 size_t buf_size;
257 body = msn_message_gen_slp_body(msg, &body_len); 257 body = msn_message_gen_slp_body(msg, &body_len);
258 258
259 msn_directconn_write(directconn, body, body_len); 259 msn_directconn_write(directconn, body, body_len);
260 } 260 }
261 261
262 void 262 static void
263 msn_directconn_process_msg(MsnDirectConn *directconn, MsnMessage *msg) 263 msn_directconn_process_msg(MsnDirectConn *directconn, MsnMessage *msg)
264 { 264 {
265 gaim_debug_info("msn", "directconn: process_msg\n"); 265 gaim_debug_info("msn", "directconn: process_msg\n");
266 266
267 msn_slplink_process_msg(directconn->slplink, msg); 267 msn_slplink_process_msg(directconn->slplink, msg);