From 004826e67a37c1f3eb3f505e860b6836f99655ee Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 6 Jul 2012 14:26:20 -0500 Subject: [PATCH] Clean up some warnings. --- src/libCom/test/epicsMessageQueueTest.cpp | 2 +- src/libCom/yajl/Makefile | 17 +++++++++-------- src/std/rec/longinRecord.c | 1 + 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/libCom/test/epicsMessageQueueTest.cpp b/src/libCom/test/epicsMessageQueueTest.cpp index ba226382a..c3c86e20a 100644 --- a/src/libCom/test/epicsMessageQueueTest.cpp +++ b/src/libCom/test/epicsMessageQueueTest.cpp @@ -291,7 +291,7 @@ MAIN(epicsMessageQueueTest) epicsThreadGetStackSize(epicsThreadStackMedium), messageQueueTest, NULL); - epicsEventWait(finished); + (void) epicsEventWait(finished); return testDone(); } diff --git a/src/libCom/yajl/Makefile b/src/libCom/yajl/Makefile index f6b58efe6..579848555 100644 --- a/src/libCom/yajl/Makefile +++ b/src/libCom/yajl/Makefile @@ -1,5 +1,5 @@ #************************************************************************* -# Copyright (c) 2002 The University of Chicago, as Operator of Argonne +# Copyright (c) 2012 UChicago Argonne LLC, as Operator of Argonne # National Laboratory. # Copyright (c) 2002 The Regents of the University of California, as # Operator of Los Alamos National Laboratory. @@ -17,10 +17,11 @@ INC += yajl_common.h INC += yajl_gen.h INC += yajl_parse.h # The other yajl_*.h files are for internal use only -SRCS += yajl.c -SRCS += yajl_alloc.c -SRCS += yajl_buf.c -SRCS += yajl_encode.c -SRCS += yajl_gen.c -SRCS += yajl_lex.c -SRCS += yajl_parser.c + +Com_SRCS += yajl.c +Com_SRCS += yajl_alloc.c +Com_SRCS += yajl_buf.c +Com_SRCS += yajl_encode.c +Com_SRCS += yajl_gen.c +Com_SRCS += yajl_lex.c +Com_SRCS += yajl_parser.c diff --git a/src/std/rec/longinRecord.c b/src/std/rec/longinRecord.c index a625b56e4..817f7cc66 100644 --- a/src/std/rec/longinRecord.c +++ b/src/std/rec/longinRecord.c @@ -20,6 +20,7 @@ #include #include #include +#include #include "dbDefs.h" #include "epicsPrint.h"