Changes in uspace/app/top/screen.c [96b02eb9:0b0f4bb] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/top/screen.c
r96b02eb9 r0b0f4bb 47 47 #include "top.h" 48 48 49 static sysarg_t warn_col = 0;50 static sysarg_t warn_row = 0;49 static ipcarg_t warn_col = 0; 50 static ipcarg_t warn_row = 0; 51 51 52 52 static void screen_style_normal(void) … … 62 62 } 63 63 64 static void screen_moveto( sysarg_t col, sysarg_t row)64 static void screen_moveto(ipcarg_t col, ipcarg_t row) 65 65 { 66 66 fflush(stdout); … … 68 68 } 69 69 70 static void screen_get_pos( sysarg_t *col, sysarg_t *row)70 static void screen_get_pos(ipcarg_t *col, ipcarg_t *row) 71 71 { 72 72 fflush(stdout); … … 74 74 } 75 75 76 static void screen_get_size( sysarg_t *col, sysarg_t *row)76 static void screen_get_size(ipcarg_t *col, ipcarg_t *row) 77 77 { 78 78 fflush(stdout); … … 94 94 static void screen_newline(void) 95 95 { 96 sysarg_t cols;97 sysarg_t rows;96 ipcarg_t cols; 97 ipcarg_t rows; 98 98 screen_get_size(&cols, &rows); 99 99 100 sysarg_t c;101 sysarg_t r;100 ipcarg_t c; 101 ipcarg_t r; 102 102 screen_get_pos(&c, &r); 103 103 104 sysarg_t i;104 ipcarg_t i; 105 105 for (i = c + 1; i < cols; i++) 106 106 puts(" "); … … 142 142 static void print_string(const char *str) 143 143 { 144 sysarg_t cols;145 sysarg_t rows;144 ipcarg_t cols; 145 ipcarg_t rows; 146 146 screen_get_size(&cols, &rows); 147 147 148 sysarg_t c;149 sysarg_t r;148 ipcarg_t c; 149 ipcarg_t r; 150 150 screen_get_pos(&c, &r); 151 151 … … 282 282 static inline void print_tasks(data_t *data) 283 283 { 284 sysarg_t cols;285 sysarg_t rows;284 ipcarg_t cols; 285 ipcarg_t rows; 286 286 screen_get_size(&cols, &rows); 287 287 288 sysarg_t col;289 sysarg_t row;288 ipcarg_t col; 289 ipcarg_t row; 290 290 screen_get_pos(&col, &row); 291 291 … … 329 329 static inline void print_ipc(data_t *data) 330 330 { 331 sysarg_t cols;332 sysarg_t rows;331 ipcarg_t cols; 332 ipcarg_t rows; 333 333 screen_get_size(&cols, &rows); 334 334 335 sysarg_t col;336 sysarg_t row;335 ipcarg_t col; 336 ipcarg_t row; 337 337 screen_get_pos(&col, &row); 338 338 … … 396 396 static inline void print_excs(data_t *data) 397 397 { 398 sysarg_t cols;399 sysarg_t rows;398 ipcarg_t cols; 399 ipcarg_t rows; 400 400 screen_get_size(&cols, &rows); 401 401 402 sysarg_t col;403 sysarg_t row;402 ipcarg_t col; 403 ipcarg_t row; 404 404 screen_get_pos(&col, &row); 405 405 … … 439 439 static void print_help(void) 440 440 { 441 sysarg_t cols;442 sysarg_t rows;441 ipcarg_t cols; 442 ipcarg_t rows; 443 443 screen_get_size(&cols, &rows); 444 444 445 sysarg_t col;446 sysarg_t row;445 ipcarg_t col; 446 ipcarg_t row; 447 447 screen_get_pos(&col, &row); 448 448
Note:
See TracChangeset
for help on using the changeset viewer.