Enabled VPATH feature: changed nearly all Makefiles (149 files).
[fw/sdcc] / debugger / mcs51 / sdcdb.h
index 3cf43b8ce2a229c51140b96c2e1624bc82c2a869..9e1268e2ab60ece5f5c0061ecc2fd6153832577e 100644 (file)
@@ -105,7 +105,7 @@ typedef short bool;
                               : STACK_PUSH_(stack,x)              )
 
 #define  STACK_POP(stack)     (STACK_EMPTY(stack)                 \
-                              ?((t_##stack)(long)(STACK_ERR(0)))  \
+                              ?((t_##stack) NULL)  \
                               : STACK_POP_(stack)                 )
 
 #define  STACK_PEEK(stack)    (STACK_EMPTY(stack)                 \
@@ -263,10 +263,12 @@ void **resize (void **, int );
 char  *alloccpy(char *,int );
 char *gc_strdup(const char *s);
 srcLine **loadFile (char *name, int *nlines);
+
 extern short fullname;
 extern int srcMode;
 extern char contsim;
 char *searchDirsFname (char *);
 char *getNextCmdLine(void );
 void setCmdLine( char * );
+void stopCommandList( void );
 #endif