let test return int so vxWorks doesnt report error

This commit is contained in:
Marty Kraimer
2003-03-25 17:03:01 +00:00
parent 9f529f8ed0
commit ec1f3cf06f
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -22,7 +22,7 @@
static char *truth[2] = {"false","true"};
void epicsMathTest ()
int epicsMathTest ()
{
double a,b,c;
@@ -41,4 +41,5 @@ void epicsMathTest ()
a=1e300; b=1e300; c=a/b;
printf("a %e b %e c %e isnan %s isinf %s\n",
a,b,c,truth[isnan(c) ? 1 : 0],truth[isinf(c) ? 1 : 0]);
return(0);
}
+1 -1
View File
@@ -13,7 +13,7 @@
*/
extern "C" {
void epicsMathTest ( void );
int epicsMathTest ( void );
}
int main ( int , char *[] )