aboutsummaryrefslogtreecommitdiff
path: root/testcases/misc
diff options
context:
space:
mode:
authorGarrett Cooper <yanegomi@gmail.com>2010-12-19 09:58:10 -0800
committerGarrett Cooper <yanegomi@gmail.com>2010-12-19 09:58:10 -0800
commit1e6f5a673655551de5734ff31ef48cd63b604e6d (patch)
treea8faf04ed2df6da929c9db820c22c53a81c6153a /testcases/misc
parent40d9ee225d8080f03d4f3380fa355a5f9a322f2f (diff)
Resolving all compile errors via a script
This may leave dupe calls to tst_exit in main, but those are easier to deal (and much less) than no-compile scenarios. As a side-effect, fix all trailing whitespace issues. Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
Diffstat (limited to 'testcases/misc')
-rw-r--r--testcases/misc/crash/crash02.c2
-rw-r--r--testcases/misc/math/abs/abs01.c2
-rw-r--r--testcases/misc/math/atof/atof01.c2
-rw-r--r--testcases/misc/math/float/bessel/genbessel.c2
-rw-r--r--testcases/misc/math/float/iperb/geniperb.c2
-rw-r--r--testcases/misc/math/float/main.c4
-rw-r--r--testcases/misc/math/fptests/fptest01.c2
-rw-r--r--testcases/misc/math/fptests/fptest02.c2
-rw-r--r--testcases/misc/math/nextafter/nextafter01.c2
9 files changed, 10 insertions, 10 deletions
diff --git a/testcases/misc/crash/crash02.c b/testcases/misc/crash/crash02.c
index 4e1d67b9b..eb5a8cc4d 100644
--- a/testcases/misc/crash/crash02.c
+++ b/testcases/misc/crash/crash02.c
@@ -496,4 +496,4 @@ in_blacklist (int sysno)
}
return 0;
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/abs/abs01.c b/testcases/misc/math/abs/abs01.c
index a596f98e2..efddca62e 100644
--- a/testcases/misc/math/abs/abs01.c
+++ b/testcases/misc/math/abs/abs01.c
@@ -131,4 +131,4 @@ int blexit()
return(0);
}
-/****** *****/
+/****** *****/ \ No newline at end of file
diff --git a/testcases/misc/math/atof/atof01.c b/testcases/misc/math/atof/atof01.c
index 7ec22e2fd..526725abc 100644
--- a/testcases/misc/math/atof/atof01.c
+++ b/testcases/misc/math/atof/atof01.c
@@ -389,4 +389,4 @@ void blexit()
tst_resm(TPASS, "Test passed");
else
tst_resm(TFAIL, "Test failed");
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/float/bessel/genbessel.c b/testcases/misc/math/float/bessel/genbessel.c
index 3860d3d16..0970567c7 100644
--- a/testcases/misc/math/float/bessel/genbessel.c
+++ b/testcases/misc/math/float/bessel/genbessel.c
@@ -100,4 +100,4 @@ int main(int argc, char *argv[])
waitpid(child, NULL, 0);
return 0;
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/float/iperb/geniperb.c b/testcases/misc/math/float/iperb/geniperb.c
index d52807afb..e5bcec2cc 100644
--- a/testcases/misc/math/float/iperb/geniperb.c
+++ b/testcases/misc/math/float/iperb/geniperb.c
@@ -91,4 +91,4 @@ int main(int argc, char *argv[])
waitpid(child, NULL, 0);
return 0;
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/float/main.c b/testcases/misc/math/float/main.c
index 5919430f7..18757e71e 100644
--- a/testcases/misc/math/float/main.c
+++ b/testcases/misc/math/float/main.c
@@ -417,7 +417,7 @@ static void error(const char *msg, int line)
| Function: Creates system error message and calls error () |
| |
+----------------------------------------------------------------------*/
-/*
+/*
* XXX (garrcoop): the way that this is being called is just plain wrong.
* pthread(5) returns 0 or errnos, not necessarily sets errno to a sensible
* value.
@@ -428,4 +428,4 @@ static void sys_error(const char *msg, int line)
sprintf(syserr_msg, "%s: %s", msg, strerror(errno));
error(syserr_msg, line);
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/fptests/fptest01.c b/testcases/misc/math/fptests/fptest01.c
index 3bfcea542..7d2bbd070 100644
--- a/testcases/misc/math/fptests/fptest01.c
+++ b/testcases/misc/math/fptests/fptest01.c
@@ -370,4 +370,4 @@ double gauss()
x2 = sqrt(-2.0*log(u1))*sin(twopi*u2);
return(mean + stdev*x2);
}
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/fptests/fptest02.c b/testcases/misc/math/fptests/fptest02.c
index 55a6ecec9..5e42baa1c 100644
--- a/testcases/misc/math/fptests/fptest02.c
+++ b/testcases/misc/math/fptests/fptest02.c
@@ -353,4 +353,4 @@ double gauss()
x2 = sqrt(-2.0*log(u1))*sin(twopi*u2);
return(mean + stdev*x2);
}
-}
+} \ No newline at end of file
diff --git a/testcases/misc/math/nextafter/nextafter01.c b/testcases/misc/math/nextafter/nextafter01.c
index 182c7db80..f57d75cd0 100644
--- a/testcases/misc/math/nextafter/nextafter01.c
+++ b/testcases/misc/math/nextafter/nextafter01.c
@@ -125,4 +125,4 @@ void blexit()
tst_resm(TFAIL, "Test failed");
}
-/***** ***** *****/
+/***** ***** *****/ \ No newline at end of file