Skip to content
Snippets Groups Projects
Commit 045eee88 authored by ben.franksen's avatar ben.franksen
Browse files

seq: added stuff to avoid warnings about nothing

parent d3b717bc
No related branches found
No related tags found
No related merge requests found
......@@ -426,3 +426,5 @@ LOCAL long siGetIoInitInfo(int cmd, struct stringinRecord *pRec, IOSCANPVT *ppvt
return 0;
}
pr_fun *devSequencer_nothing_dummy = nothing;
......@@ -199,3 +199,6 @@ epicsShareFunc void epicsShareAPI seqRegisterSequencerCommands(void)
iocshRegister(&seqcarFuncDef,seqcarCallFunc);
}
}
/* avoid nothing define but not used warnings */
pr_fun *seqCommands_nothing_dummy = nothing;
......@@ -263,6 +263,8 @@ extern long seq_connect(SPROG *pSP);
extern long seq_disconnect(SPROG *pSP);
extern void ss_write_buffer(CHAN *pDB, void *pVal);
/* debug/query support */
typedef int pr_fun(const char *format,...);
static int nothing (const char *format,...) {return 0;}
#endif /*INCLseqPvth*/
......@@ -487,3 +487,6 @@ static void seqShowAll(void)
if (seqProgCount == 0)
printf("No active state programs\n");
}
/* avoid nothing define but not used warnings */
pr_fun *qry_nothing_dummy = nothing;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment