Changeset 582a0b8 in mainline for uspace/dist
- Timestamp:
- 2017-05-08T19:20:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c8533
- Parents:
- 73db198
- Location:
- uspace/dist/src/c/demos
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/edit/search.c
r73db198 r582a0b8 36 36 37 37 #include <stdlib.h> 38 #include <stddef.h> 38 39 #include <errno.h> 39 40 -
uspace/dist/src/c/demos/tetris/scores.c
r73db198 r582a0b8 232 232 233 233 f = fopen("/data/tetris.sco", "wb"); 234 if (f == NULL) { 235 printf("Error creating table\n"); 236 return; 237 } 238 234 239 cnt = fwrite(scores, sizeof(struct highscore), NUMSPOTS, f); 235 240 rc = fclose(f); -
uspace/dist/src/c/demos/tetris/screen.c
r73db198 r582a0b8 58 58 #include <stdlib.h> 59 59 #include <str.h> 60 #include <unistd.h>61 60 #include <vfs/vfs.h> 62 61 #include <async.h> -
uspace/dist/src/c/demos/tetris/shapes.c
r73db198 r582a0b8 56 56 */ 57 57 58 #include <unistd.h>59 58 #include "tetris.h" 60 59 -
uspace/dist/src/c/demos/tetris/tetris.c
r73db198 r582a0b8 51 51 */ 52 52 53 static const char copyright[] =53 static volatile const char copyright[] = 54 54 "@(#) Copyright (c) 1992, 1993\n" 55 55 "\tThe Regents of the University of California. All rights reserved.\n"; … … 61 61 #include <stdio.h> 62 62 #include <stdlib.h> 63 #include <stdint.h> 63 64 #include <str.h> 64 #include <unistd.h>65 65 #include <getopt.h> 66 66 #include "scores.h" -
uspace/dist/src/c/demos/tetris/tetris.h
r73db198 r582a0b8 49 49 /** @file 50 50 */ 51 52 #include <stdint.h> 51 53 52 54 /* -
uspace/dist/src/c/demos/top/top.c
r73db198 r582a0b8 38 38 #include <stdio.h> 39 39 #include <stdlib.h> 40 #include <unistd.h>41 40 #include <task.h> 42 41 #include <thread.h>
Note:
See TracChangeset
for help on using the changeset viewer.