diff options
author | H. Peter Anvin <hpa@zytor.com> | 2005-01-15 22:15:51 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2005-01-15 22:15:51 +0000 |
commit | e2c80181b6a6338f0381fc9c44fae32d8b8a20fc (patch) | |
tree | f9919ba3c0489d886c9a79e73257ef6a4584aafc /test/cofftest.c | |
parent | 5180bc8a598aa5bff7bfb3726771e5bf348e61a2 (diff) | |
download | nasm-e2c80181b6a6338f0381fc9c44fae32d8b8a20fc.tar.gz nasm-e2c80181b6a6338f0381fc9c44fae32d8b8a20fc.tar.bz2 nasm-e2c80181b6a6338f0381fc9c44fae32d8b8a20fc.zip |
Apply Nindent to all .c and .h files
Diffstat (limited to 'test/cofftest.c')
-rw-r--r-- | test/cofftest.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cofftest.c b/test/cofftest.c index 4dec0df..e259aef 100644 --- a/test/cofftest.c +++ b/test/cofftest.c @@ -14,11 +14,12 @@ extern void *selfptr; extern void *textptr; extern int integer, commvar; -int main(void) { +int main(void) +{ printf("Testing lrotate: should get 0x00400000, 0x00000001\n"); - printf("lrotate(0x00040000, 4) = 0x%08lx\n", lrotate(0x40000,4)); - printf("lrotate(0x00040000, 14) = 0x%08lx\n", lrotate(0x40000,14)); + printf("lrotate(0x00040000, 4) = 0x%08lx\n", lrotate(0x40000, 4)); + printf("lrotate(0x00040000, 14) = 0x%08lx\n", lrotate(0x40000, 14)); printf("This string should read `hello, world': `%s'\n", asmstr); @@ -27,8 +28,7 @@ int main(void) { commvar = 4321; greet(); - printf("These pointers should be equal: %p and %p\n", - &greet, textptr); + printf("These pointers should be equal: %p and %p\n", &greet, textptr); printf("So should these: %p and %p\n", selfptr, &selfptr); } |