Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4680 → Rev 4662

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