Changeset 501a8ba in mainline
- Timestamp:
- 2006-06-16T21:20:51Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d3cd9774
- Parents:
- 153a209
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
console/console.c
r153a209 r501a8ba 218 218 keyfield_t *field; 219 219 style_t *style; 220 char c;221 220 222 221 if (newcons == active_console) … … 310 309 if (newcon != -1) 311 310 change_console(newcon); 311 retval = 0; 312 312 break; 313 313 case KBD_MS_MOVE: 314 314 gcons_mouse_move(IPC_GET_ARG1(call), IPC_GET_ARG2(call)); 315 retval = 0; 315 316 break; 316 317 case KBD_PUSHCHAR: … … 338 339 } 339 340 340 /*FIXME: else store key to its buffer */341 341 keybuffer_push(&conn->keybuffer, c); 342 retval = 0; 342 343 343 344 break; … … 457 458 { 458 459 ipcarg_t phonehash; 459 int kbd_phone, fb_phone; 460 ipcarg_t retval, arg1 = 0xdead, arg2 = 0xbeef; 460 int kbd_phone; 461 461 int i; 462 462 -
console/gcons.c
r153a209 r501a8ba 70 70 static int console_vp; 71 71 static int cstatus_vp[CONSOLE_COUNT]; 72 static int cstat_row, cstat_col; /* Size of cstatus buttons */73 72 static enum butstate console_state[CONSOLE_COUNT]; 74 73 … … 346 345 { 347 346 int i; 348 size_t hsize = (size_t)&_binary_helenos_ppm_size;349 347 350 348 if (!use_gcons) -
ipcc/ipcc.c
r153a209 r501a8ba 108 108 static void do_answer_msg(void) 109 109 { 110 int i,cnt, errn; 111 char c; 112 ipc_callid_t callid; 110 int i,cnt, errn = 0; 111 char c; 113 112 114 113 cnt = 0; -
klog/klog.c
r153a209 r501a8ba 45 45 static char *klog; 46 46 47 void interrupt_received(ipc_callid_t callid, ipc_call_t *call)47 static void interrupt_received(ipc_callid_t callid, ipc_call_t *call) 48 48 { 49 49 int i; -
pci/pci.c
r153a209 r501a8ba 64 64 ipc_call_t call; 65 65 ipc_callid_t callid; 66 int retval;67 66 68 67 callid = ipc_wait_for_call(&call); -
tetris/input.c
r153a209 r501a8ba 109 109 } else 110 110 s = NULL; 111 again: 111 112 112 if (!lastchar) { 113 113 if (!getchar_inprog) … … 143 143 { 144 144 struct timeval tv; 145 char c;146 145 147 146 tv.tv_sec = 0; -
tetris/screen.c
r153a209 r501a8ba 62 62 static int curscore; 63 63 static int isset; /* true => terminal is in game mode */ 64 static void (*tstp)(int);65 66 static void scr_stop(int);67 static void stopset(int);68 69 static char70 *CEstr; /* clear to end of line */71 64 72 65 … … 147 140 { 148 141 return async_req_2(con_phone, CONSOLE_GETSIZE, 0, 0, &ws->ws_row, &ws->ws_col); 149 }150 151 static void152 scr_stop(int sig)153 {154 155 scr_end();156 scr_set();157 scr_msg(key_msg, 1);158 142 } 159 143 -
tetris/tetris.c
r153a209 r501a8ba 164 164 gettimeofday(&tv, NULL); 165 165 srandom(tv.tv_sec + tv.tv_usec / 100000); 166 }167 168 static void tetris_scores(int firstgame)169 {170 166 } 171 167 … … 260 256 int level = 2; 261 257 char key_write[6][10]; 262 const char *errstr; 263 int ch, i, j; 258 int i, j; 264 259 265 260 keys = "jkl pq"; … … 451 446 */ 452 447 scr_end(); 453 exit(0); 448 449 return 0; 454 450 } 455 451
Note:
See TracChangeset
for help on using the changeset viewer.