Changes in uspace/srv/hid/fb/serial_console.c [4f14e1f8:c0699467] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/fb/serial_console.c
r4f14e1f8 rc0699467 52 52 #include "serial_console.h" 53 53 54 // FIXME: remove this header 55 #include <abi/ipc/methods.h> 56 54 57 #define MAX_CONTROL 20 55 58 … … 312 315 * Main function of the thread serving client connections. 313 316 */ 314 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall )317 void serial_client_connection(ipc_callid_t iid, ipc_call_t *icall, void *arg) 315 318 { 316 319 keyfield_t *interbuf = NULL; … … 344 347 int retval; 345 348 346 switch (IPC_GET_IMETHOD(call)) { 347 case IPC_M_PHONE_HUNGUP: 349 if (!IPC_GET_IMETHOD(call)) { 348 350 client_connected = 0; 349 351 async_answer_0(callid, EOK); … … 351 353 /* Exit thread */ 352 354 return; 355 } 356 357 switch (IPC_GET_IMETHOD(call)) { 353 358 case IPC_M_SHARE_OUT: 354 359 /* We accept one area for data interchange */
Note:
See TracChangeset
for help on using the changeset viewer.