ssert => epicsAssert

This commit is contained in:
Jeff Hill
1995-03-07 01:25:09 +00:00
parent 5d3ded4397
commit f1bc683bd4
15 changed files with 12 additions and 25 deletions

View File

@@ -32,8 +32,8 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <epicsAssert.h>
#include <epicsPrint.h>

View File

@@ -30,7 +30,6 @@
*/
#include <stdio.h>
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
@@ -38,6 +37,7 @@
#include <vxWorks.h>
#include <taskLib.h>
#include <epicsAssert.h>
#include <epicsPrint.h>

View File

@@ -35,12 +35,12 @@
*/
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <epicsAssert.h>
#include <bucketLib.h>
#ifndef NBBY

View File

@@ -35,12 +35,12 @@
*/
#include <stdio.h>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <time.h>
#include <epicsAssert.h>
#include <bucketLib.h>
#ifndef NBBY

View File

@@ -40,8 +40,8 @@
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
#include <epicsAssert.h>
#include <dbDefs.h>
#include <errMdef.h>
#include <epicsPrint.h>

View File

@@ -31,7 +31,6 @@
*/
#include <stdio.h>
#include <assert.h>
#include <stdarg.h>
#include <string.h>
#include <errno.h>
@@ -46,6 +45,7 @@
#include <error.h>
#include <logLib.h>
#include <epicsAssert.h>
#include <ellLib.h>
#include <dbDefs.h>
#include <task_params.h>

View File

@@ -95,7 +95,6 @@ static char *pSccsId = "@(#) $Id$";
* ANSI
*/
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <stdarg.h>
@@ -109,6 +108,7 @@ static char *pSccsId = "@(#) $Id$";
#include <selectLib.h>
#endif
#include <epicsAssert.h>
#include <fdmgr.h>
#ifndef TRUE

View File

@@ -30,10 +30,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include <time.h>
#include <epicsAssert.h>
#include <ellLib.h>
#ifdef vxWorks

View File

@@ -140,7 +140,7 @@
# include <ctype.h>
# include <stdio.h>
#endif
#include <assert.h>
#include <epicsAssert.h>
/*-----------------------------------------------------------------------------
* the preamble skips over leading white space, stopping either at

View File

@@ -130,7 +130,7 @@
#endif
#endif
# include <assert.h>
#include <epicsAssert.h>
#include <envDefs.h>
#define TS_PRIVATE_DATA
@@ -598,7 +598,6 @@ TS_STAMP *pStamp; /* O pointer to time stamp buffer */
long retStat=S_ts_OK;/* return status to caller */
#ifdef vxWorks
<<<<<<< tsSubr.c
retStat = TScurrentTimeStamp((struct timespec*)pStamp);
if (retStat == 0) {
return S_ts_OK;
@@ -606,16 +605,6 @@ TS_STAMP *pStamp; /* O pointer to time stamp buffer */
else {
return S_ts_sysTimeError;
}
=======
# if 0 /* 'test' code, for ioc core without time of day service */
assert(pStamp != NULL);
pStamp->nsec = 987000000;
pStamp->secPastEpoch = 30 * 86400 + 495; /* 0815 Jan 31 of epoch year */
# else
if(!TScurrentTimeStamp((struct timespec*)pStamp)) return(S_ts_OK);
return(S_ts_sysTimeError);
# endif
>>>>>>> 1.16
#else
struct timeval curtime;

View File

@@ -52,7 +52,6 @@
static char *sccsId = "%W% %G%";
#include <assert.h>
#include <string.h>
#include <stdio.h>
#include <stdarg.h>

View File

@@ -46,7 +46,6 @@
static char *sccsId = "@(#) $Id$";
#include <stdio.h>
#include <assert.h>
#include <unistd.h>
#include <vxWorks.h>

View File

@@ -58,7 +58,6 @@
static char *sccsId = "@(#) $Id$";
#include <assert.h>
#include <string.h>
#include <vxWorks.h>

View File

@@ -38,7 +38,6 @@ static char *sccsId = "@(#) $Id$";
/*
* ansi includes
*/
#include <assert.h>
#include <string.h>
/*

View File

@@ -55,6 +55,8 @@ typedef int SOCKET;
#define APIENTRY
#include <epicsAssert.h>
#include <vxLib.h>
#include <ellLib.h>
#include <fast_lock.h>