Changeset a405563 in mainline for uspace/app
- Timestamp:
- 2009-08-02T18:51:49Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f019cc07
- Parents:
- 30885b9
- Location:
- uspace/app
- Files:
-
- 3 edited
-
tester/thread/thread1.c (modified) (2 diffs)
-
tetris/shapes.c (modified) (2 diffs)
-
tetris/tetris.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/thread/thread1.c
r30885b9 ra405563 39 39 static atomic_t finish; 40 40 static atomic_t threads_finished; 41 static bool sh_quiet;42 41 43 42 static void threadtest(void *data) … … 54 53 { 55 54 unsigned int i; 56 unsignedint total = 0;55 int total = 0; 57 56 58 57 atomic_set(&finish, 1); -
uspace/app/tetris/shapes.c
r30885b9 ra405563 88 88 int fits_in(const struct shape *shape, int pos) 89 89 { 90 int *o = shape->off;90 const int *o = shape->off; 91 91 92 92 if ((board[pos]) || (board[pos + *o++]) || (board[pos + *o++]) || … … 103 103 void place(const struct shape *shape, int pos, int onoff) 104 104 { 105 int *o = shape->off;105 const int *o = shape->off; 106 106 107 107 board[pos] = onoff ? shape->color : 0x000000; -
uspace/app/tetris/tetris.c
r30885b9 ra405563 238 238 int pos; 239 239 int c; 240 c har *keys;240 const char *keys; 241 241 int level = 2; 242 242 char key_write[6][10];
Note:
See TracChangeset
for help on using the changeset viewer.
