ssert => epicsAssert
This commit is contained in:
@@ -32,8 +32,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <epicsAssert.h>
|
||||
#include <epicsPrint.h>
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -52,7 +52,6 @@
|
||||
|
||||
static char *sccsId = "%W% %G%";
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
|
||||
static char *sccsId = "@(#) $Id$";
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include <vxWorks.h>
|
||||
|
||||
@@ -58,7 +58,6 @@
|
||||
|
||||
static char *sccsId = "@(#) $Id$";
|
||||
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <vxWorks.h>
|
||||
|
||||
@@ -38,7 +38,6 @@ static char *sccsId = "@(#) $Id$";
|
||||
/*
|
||||
* ansi includes
|
||||
*/
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
|
||||
/*
|
||||
|
||||
@@ -55,6 +55,8 @@ typedef int SOCKET;
|
||||
|
||||
#define APIENTRY
|
||||
|
||||
#include <epicsAssert.h>
|
||||
|
||||
#include <vxLib.h>
|
||||
#include <ellLib.h>
|
||||
#include <fast_lock.h>
|
||||
|
||||
Reference in New Issue
Block a user