This commit is contained in:
2020-03-02 09:13:38 +01:00
3 changed files with 15 additions and 19 deletions

View File

@ -17,18 +17,6 @@
* *
***************************************************************/
#include "StreamBusInterface.h"
#include "StreamError.h"
#include "StreamBuffer.h"
#include "asynDriver.h"
#include "asynOctet.h"
#include "asynInt32.h"
#include "asynUInt32Digital.h"
#include "asynGpibDriver.h"
#include "devStream.h"
#ifdef EPICS_3_13
#include <assert.h>
#include <wdLib.h>
@ -43,6 +31,18 @@ extern "C" {
#include "iocsh.h"
#endif
#include "StreamBusInterface.h"
#include "StreamError.h"
#include "StreamBuffer.h"
#include "asynDriver.h"
#include "asynOctet.h"
#include "asynInt32.h"
#include "asynUInt32Digital.h"
#include "asynGpibDriver.h"
#include "devStream.h"
#include "MacroMagic.h"
#define Z PRINTF_SIZE_T_PREFIX

View File

@ -27,12 +27,7 @@
int streamDebug = 0;
int streamError = 1;
extern "C" {
#ifdef _WIN32
__declspec(dllexport)
#endif
FILE *StreamDebugFile = NULL;
}
#ifndef va_copy
#ifdef __va_copy

View File

@ -88,8 +88,7 @@ typedef const struct format_s {
const struct StreamFormat* priv;
} format_t;
epicsShareExtern FILE* StreamDebugFile;
extern const char StreamVersion [];
extern FILE* StreamDebugFile;
typedef long (*streamIoFunction) (dbCommon*, format_t*);
@ -97,6 +96,8 @@ typedef long (*streamIoFunction) (dbCommon*, format_t*);
extern "C" {
#endif
extern const char StreamVersion [];
long streamInit(int after);
long streamInitRecord(dbCommon *record,
const struct link *ioLink,