Sfoglia il codice sorgente

The definitions of lastline, currline and firstline are made
extern in graph.h. The space reserving declaration is made in
graph.c.

em 40 anni fa
parent
commit
1b8f41d3b2
2 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. 4 0
      lang/basic/src.old/graph.c
  2. 1 1
      lang/basic/src.old/graph.h

+ 4 - 0
lang/basic/src.old/graph.c

@@ -7,6 +7,10 @@ static char rcs_id[] = "$Header$" ;
 
 List *forwardlabel=0;
 
+Linerecord	*firstline, 
+		*currline, 
+		*lastline;
+
 /* Line management is handled here */
 
 Linerecord *srchline(nr)

+ 1 - 1
lang/basic/src.old/graph.h

@@ -28,7 +28,7 @@ typedef struct LINERECORD{
 	int	fixed;			/* fixation of block */
 } Linerecord;
 
-Linerecord	*firstline, 
+extern Linerecord	*firstline, 
 		*currline, 
 		*lastline;
 extern List	*forwardlabel;