Changeset 1048 for libcaca/trunk/test
- Timestamp:
- Sep 17, 2006, 2:44:18 PM (14 years ago)
- Location:
- libcaca/trunk/test
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/test/demo.c
r964 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 17 # include <math.h>18 # include <string.h>19 # include <stdio.h>20 16 #if !defined(__KERNEL__) 17 # include <math.h> 18 # include <string.h> 19 # include <stdio.h> 20 #endif 21 21 #include "caca.h" 22 22 -
libcaca/trunk/test/demo0.c
r1019 r1048 24 24 #include "config.h" 25 25 26 #include <math.h> 27 #include <string.h> 28 #include <stdio.h> 26 #if !defined(__KERNEL__) 27 # include <math.h> 28 # include <string.h> 29 # include <stdio.h> 30 #endif 29 31 30 32 #include "caca0.h" -
libcaca/trunk/test/dithering.c
r859 r1048 15 15 #include "common.h" 16 16 17 #include <stdio.h> 17 #if !defined(__KERNEL__) 18 # include <stdio.h> 19 #endif 18 20 19 21 #include "cucul.h" … … 36 38 char density[] = " ',+:;o&%w$W@#"; 37 39 38 int main( void)40 int main(int argc, char *argv[]) 39 41 { 40 42 cucul_canvas_t *cv; -
libcaca/trunk/test/event.c
r898 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 17 #include <stdio.h> 18 #include <string.h> 19 #include <stdlib.h> 16 #if !defined(__KERNEL__) 17 # include <stdio.h> 18 # include <string.h> 19 # include <stdlib.h> 20 #endif 20 21 21 22 #include "cucul.h" -
libcaca/trunk/test/export.c
r1012 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 # include <stdio.h> 22 # include <stdlib.h> 23 # include <string.h> 19 24 #endif 20 21 #include <stdio.h>22 #include <stdlib.h>23 #include <string.h>24 25 25 26 #include "cucul.h" -
libcaca/trunk/test/font.c
r942 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 22 # if defined(HAVE_ENDIAN_H) 23 # include <endian.h> 24 # endif 25 26 # include <stdio.h> 27 # include <stdlib.h> 28 # include <string.h> 19 29 #endif 20 21 #if defined(HAVE_ENDIAN_H)22 # include <endian.h>23 #endif24 25 #include <stdio.h>26 #include <stdlib.h>27 #include <string.h>28 30 29 31 #include "cucul.h" -
libcaca/trunk/test/font2tga.c
r959 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 # include <stdio.h> 22 # include <stdlib.h> 19 23 #endif 20 21 #include <stdio.h>22 #include <stdlib.h>23 24 24 25 #include "cucul.h" -
libcaca/trunk/test/frames.c
r964 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 #if !defined(__KERNEL__) 17 # if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 19 # endif 16 20 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 21 # include <stdio.h> 19 22 #endif 20 21 #include <stdio.h>22 23 23 #include "cucul.h" 24 24 #include "caca.h" 25 25 26 int main( void)26 int main(int argc, char *argv[]) 27 27 { 28 28 cucul_canvas_t *cv; -
libcaca/trunk/test/gamma.c
r1031 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H)18 # include <inttypes.h>19 #endif20 21 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 22 21 # include <stdio.h> 23 22 # include <math.h> … … 29 28 uint32_t buffer[256 * 4]; 30 29 31 int main( void)30 int main(int argc, char *argv[]) 32 31 { 33 32 caca_event_t ev; -
libcaca/trunk/test/hsv.c
r858 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 # include <stdio.h> 19 22 #endif 20 21 #include <stdio.h>22 23 23 24 #include "cucul.h" … … 26 27 uint32_t buffer[256*256]; 27 28 28 int main( void)29 int main(int argc, char *argv[]) 29 30 { 30 31 cucul_canvas_t *cv; -
libcaca/trunk/test/import.c
r903 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 18 #if !defined(__KERNEL__) 19 # if defined(HAVE_INTTYPES_H) 20 # include <inttypes.h> 21 # endif 22 # include <stdio.h> 23 # include <stdlib.h> 19 24 #endif 20 25 21 #include <stdio.h>22 #include <stdlib.h>23 26 24 27 #include "cucul.h" -
libcaca/trunk/test/input.c
r980 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 18 19 # include <inttypes.h> 20 # endif 21 # include <string.h> 19 22 #endif 20 21 #include <string.h>22 23 23 24 #include "cucul.h" … … 33 34 } textentry; 34 35 35 int main( void)36 int main(int argc, char *argv[]) 36 37 { 37 38 textentry entries[TEXT_ENTRIES]; -
libcaca/trunk/test/spritedit.c
r859 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 17 # include <stdio.h>18 16 #if !defined(__KERNEL__) 17 # include <stdio.h> 18 #endif 19 19 #include "cucul.h" 20 20 #include "caca.h" -
libcaca/trunk/test/text.c
r942 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 16 #if !defined(__KERNEL__) 17 # if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 19 # endif 20 # include <stdio.h> 21 # include <string.h> 19 22 #endif 20 21 #include <stdio.h>22 #include <string.h>23 24 23 #include "cucul.h" 25 24 … … 32 31 " `----' \n" 33 32 34 int main( void)33 int main(int argc, char *argv[]) 35 34 { 36 35 cucul_canvas_t *cv; -
libcaca/trunk/test/transform.c
r858 r1048 14 14 #include "config.h" 15 15 #include "common.h" 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 16 #if !defined(__KERNEL__) 17 # if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 19 # endif 20 # include <stdio.h> 19 21 #endif 20 21 #include <stdio.h>22 22 23 23 #include "cucul.h" … … 45 45 }; 46 46 47 int main( void)47 int main(int argc, char *argv[]) 48 48 { 49 49 cucul_canvas_t *cv, *normal, *flip, *flop, *rotate; -
libcaca/trunk/test/truecolor.c
r858 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 # include <stdio.h> 19 22 #endif 20 21 #include <stdio.h>22 23 23 24 #include "cucul.h" 24 25 #include "caca.h" 25 26 26 int main( void)27 int main(int argc, char *argv[]) 27 28 { 28 29 cucul_canvas_t *cv; -
libcaca/trunk/test/unicode.c
r858 r1048 15 15 #include "common.h" 16 16 17 #if defined(HAVE_INTTYPES_H) 18 # include <inttypes.h> 17 #if !defined(__KERNEL__) 18 # if defined(HAVE_INTTYPES_H) 19 # include <inttypes.h> 20 # endif 21 # include <stdio.h> 19 22 #endif 20 21 #include <stdio.h>22 23 23 24 #include "cucul.h" 24 25 #include "caca.h" 25 26 26 int main( void)27 int main(int argc, char *argv[]) 27 28 { 28 29 cucul_canvas_t *cv;
Note: See TracChangeset
for help on using the changeset viewer.