Mercurial > mplayer.hg
diff vidix/dhahelper/test.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | ad17225e13b4 |
children |
line wrap: on
line diff
--- a/vidix/dhahelper/test.c Tue May 12 19:25:35 2009 +0000 +++ b/vidix/dhahelper/test.c Wed May 13 02:58:57 2009 +0000 @@ -27,7 +27,7 @@ #include <errno.h> #include <fcntl.h> #include <sys/mman.h> - + #include "dhahelper.h" int main(int argc, char *argv[]) @@ -58,13 +58,13 @@ printf("ret: %s\n", strerror(errno)); mem.ret = (int)mmap(NULL, (size_t)mem.size, PROT_READ, MAP_SHARED, fd, (off_t)0); - printf("allocated to %x\n", mem.ret); + printf("allocated to %x\n", mem.ret); if (argc > 1) if (mem.ret != 0) { int i; - + for (i = 0; i < 256; i++) printf("[%x] ", *(int *)(mem.ret+i)); printf("\n");