Get rid of some warning messages

This commit is contained in:
Marty Kraimer
1998-03-19 20:46:33 +00:00
parent f76ae5019b
commit e4ea112d5a
3 changed files with 15 additions and 13 deletions

View File

@@ -42,6 +42,7 @@
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <tickLib.h>
#include <wdLib.h>

View File

@@ -41,22 +41,23 @@
* .10 10-20-92 jbk added get_enum funcs, allowed defaults in fields
*/
#include <vxWorks.h>
#include <types.h>
#include <stdioLib.h>
#include <lstLib.h>
#include <vxWorks.h>
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include "dbDefs.h"
#include "epicsPrint.h"
#include <alarm.h>
#include <dbAccess.h>
#include <dbEvent.h>
#include <dbFldTypes.h>
#include <devSup.h>
#include <errMdef.h>
#include <recSup.h>
#include "alarm.h"
#include "dbAccess.h"
#include "dbEvent.h"
#include "dbFldTypes.h"
#include "devSup.h"
#include "errMdef.h"
#include "recSup.h"
#define GEN_SIZE_OFFSET
#include <pulseDelayRecord.h>
#include "pulseDelayRecord.h"
#undef GEN_SIZE_OFFSET
/* defines used in special routine */

View File

@@ -1729,7 +1729,7 @@ struct scanRecord *pscan;
positioner into p_pp. If recScanDontCheckLimits is set, it will return
successful w/o actually checking */
if(status = checkScanLimits(pscan)) {
if((status = checkScanLimits(pscan))) {
pscan->exsc = 0; /* limits didn't pass, abort scan */
db_post_events(pscan,&pscan->smsg,DBE_VALUE);
db_post_events(pscan,&pscan->alrt,DBE_VALUE);