Make it compile ...
This commit is contained in:
9
buffer.c
9
buffer.c
@@ -48,7 +48,6 @@
|
||||
#include "fupa.h"
|
||||
#include "splitter.h"
|
||||
#include "ruli.h"
|
||||
#include "qcbo.h"
|
||||
/*-------------------------------------------------------------------------*/
|
||||
static int SaveBuffer(void *pData, char *name, FILE *fd)
|
||||
{
|
||||
@@ -368,7 +367,6 @@
|
||||
int argc, char *argv[])
|
||||
{
|
||||
pRuenStack pStack = NULL;
|
||||
pCBQueue q = NULL;
|
||||
|
||||
pStack = CreateRuenStack();
|
||||
if(!pStack)
|
||||
@@ -376,15 +374,8 @@
|
||||
SCWrite(pCon,"ERROR: No memory to create Ruen-Stack",eError);
|
||||
return 0;
|
||||
}
|
||||
q = CreateCBQueue();
|
||||
if(!q)
|
||||
{
|
||||
SCWrite(pCon,"ERROR: No memory to create Queue",eError);
|
||||
return 0;
|
||||
}
|
||||
AddCommand(pSics,"Buf",BufferCommand,NULL,NULL);
|
||||
AddCommand(pSics,"Stack",RuenStackAction,DeleteRuenStack,pStack);
|
||||
AddCommand(pSics,"queue",QueueAction,NULL,q);
|
||||
return 1;
|
||||
}
|
||||
/*------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user