Clean up build warnings from Darwin (clang).

This commit is contained in:
Andrew Johnson
2014-05-30 12:36:50 -05:00
parent c980613bd8
commit 9e1ebf8d0f
7 changed files with 8 additions and 15 deletions
-3
View File
@@ -34,9 +34,6 @@
#include "logClient.h"
static const int logClientSuccess = 0;
static const int logClientError = -1;
typedef struct {
char msgBuf[0x4000];
struct sockaddr_in addr;
-2
View File
@@ -20,8 +20,6 @@
* .01 06-14-93 joh needs devAllocInterruptVector() routine
*/
static const char sccsID[] = "@(#) $Revision-Id$";
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
+4 -4
View File
@@ -407,8 +407,8 @@ MAIN(epicsCalcTest)
testExpr(MAX( 1., 2.,Inf, 4., 5., 3.));
testExpr(MAX( 1.,Inf, 3., 4., 5., 2.));
testExpr(MAX(Inf, 2., 3., 4., 5., 1.));
testExpr(MAX(1,2,3,4,5,6,7,8,9,10));
testExpr(MAX(5,4,3,2,1,0,-1,-2,-3,-4));
testExpr(MAX(1,2,3,4,5,6,7,8,9,10,11,12));
testExpr(MAX(5,4,3,2,1,0,-1,-2,-3,-4,-5,-6));
testExpr(MAX(-1,1,0));
testExpr(MIN(99));
@@ -468,8 +468,8 @@ MAIN(epicsCalcTest)
testExpr(MIN( 1., 2.,-Inf, 4., 5., 3.));
testExpr(MIN( 1.,-Inf, 3., 4., 5., 2.));
testExpr(MIN(-Inf, 2., 3., 4., 5., 1.));
testExpr(MIN(1,2,3,4,5,6,7,8,9,10));
testExpr(MIN(5,4,3,2,1,0,-1,-2,-3,-4));
testExpr(MIN(1,2,3,4,5,6,7,8,9,10,11,12));
testExpr(MIN(5,4,3,2,1,0,-1,-2,-3,-4,-5,-6));
testExpr(MIN(1,-1,0));
testExpr(MAX(MIN(0,2),MAX(0),MIN(3,2,1)));