summaryrefslogtreecommitdiff
path: root/test/cofftest.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2005-01-15 22:15:51 +0000
committerH. Peter Anvin <hpa@zytor.com>2005-01-15 22:15:51 +0000
commite2c80181b6a6338f0381fc9c44fae32d8b8a20fc (patch)
treef9919ba3c0489d886c9a79e73257ef6a4584aafc /test/cofftest.c
parent5180bc8a598aa5bff7bfb3726771e5bf348e61a2 (diff)
downloadnasm-e2c80181b6a6338f0381fc9c44fae32d8b8a20fc.tar.gz
Apply Nindent to all .c and .h filesnasm-0.98.39LATEST
Diffstat (limited to 'test/cofftest.c')
-rw-r--r--test/cofftest.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/cofftest.c b/test/cofftest.c
index 4dec0df9..e259aef2 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);
}