Modify printfdset, set USE_TYPED_DSET

This commit is contained in:
Andrew Johnson
2019-11-16 22:16:50 -06:00
parent 37ed77006c
commit 23450fcfc8
7 changed files with 14 additions and 13 deletions

View File

@@ -42,6 +42,7 @@ dbRecStd_SRCS += devMbboDirectSoft.c
dbRecStd_SRCS += devMbboDirectSoftRaw.c
dbRecStd_SRCS += devMbboSoft.c
dbRecStd_SRCS += devMbboSoftRaw.c
devPrintfSoft_CFLAGS += -DUSE_TYPED_DSET
dbRecStd_SRCS += devPrintfSoft.c
dbRecStd_SRCS += devSASoft.c
dbRecStd_SRCS += devSiSoft.c
@@ -65,10 +66,12 @@ dbRecStd_SRCS += devLoSoftCallback.c
dbRecStd_SRCS += devLsoSoftCallback.c
dbRecStd_SRCS += devMbboSoftCallback.c
dbRecStd_SRCS += devMbboDirectSoftCallback.c
devPrintfSoftCallback_CFLAGS += -DUSE_TYPED_DSET
dbRecStd_SRCS += devPrintfSoftCallback.c
dbRecStd_SRCS += devSoSoftCallback.c
dbRecStd_SRCS += devTimestamp.c
devStdio_CFLAGS += -DUSE_TYPED_DSET
dbRecStd_SRCS += devStdio.c
dbRecStd_SRCS += devEnviron.c

View File

@@ -19,7 +19,7 @@ static long write_string(printfRecord *prec)
}
printfdset devPrintfSoft = {
5, NULL, NULL, NULL, NULL, write_string
{ 5, NULL, NULL, NULL, NULL }, write_string
};
epicsExportAddress(dset, devPrintfSoft);

View File

@@ -40,6 +40,6 @@ static long write_string(printfRecord *prec)
}
printfdset devPrintfSoftCallback = {
5, NULL, NULL, NULL, NULL, write_string
{ 5, NULL, NULL, NULL, NULL }, write_string
};
epicsExportAddress(dset, devPrintfSoftCallback);

View File

@@ -153,7 +153,7 @@ static long write_printf(printfRecord *prec)
}
printfdset devPrintfStdio = {
5, NULL, init_printf, NULL, NULL, write_printf
{5, NULL, init_printf, NULL, NULL }, write_printf
};
epicsExportAddress(dset, devPrintfStdio);