/trunk/uspace/app/tester/thread/thread1.c |
---|
38,7 → 38,6 |
static atomic_t finish; |
static atomic_t threads_finished; |
static bool sh_quiet; |
static void threadtest(void *data) |
{ |
53,7 → 52,7 |
char *test_thread1(void) |
{ |
unsigned int i; |
unsigned int total = 0; |
int total = 0; |
atomic_set(&finish, 1); |
atomic_set(&threads_finished, 0); |
/trunk/uspace/app/tetris/shapes.c |
---|
87,7 → 87,7 |
*/ |
int fits_in(const struct shape *shape, int pos) |
{ |
int *o = shape->off; |
const int *o = shape->off; |
if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) || |
(board[pos + *o])) |
102,7 → 102,7 |
*/ |
void place(const struct shape *shape, int pos, int onoff) |
{ |
int *o = shape->off; |
const int *o = shape->off; |
board[pos] = onoff ? shape->color : 0x000000; |
board[pos + *o++] = onoff ? shape->color : 0x000000; |
/trunk/uspace/app/tetris/tetris.c |
---|
237,7 → 237,7 |
{ |
int pos; |
int c; |
char *keys; |
const char *keys; |
int level = 2; |
char key_write[6][10]; |
int i; |