]> git.sur5r.net Git - cc65/blobdiff - src/cc65/codegen.h
Fixed two compiler warnings.
[cc65] / src / cc65 / codegen.h
index 58e0217ef1f56b4f4024123155a7f753f9aff5d0..a3b6df128f3082ba51a81cbb8d8c34a077d0e384 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2004 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2009, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -85,9 +85,6 @@
 
 
 
-/* Compiler relative stackpointer */
-extern int StackPtr;
-
 /* Forward */
 struct StrBuf;
 
@@ -139,6 +136,9 @@ void g_defcodelabel (unsigned label);
 void g_defdatalabel (unsigned label);
 /* Define a local data label */
 
+void g_aliasdatalabel (unsigned label, unsigned baselabel, long offs);
+/* Define label as a local alias for baselabel+offs */
+
 
 
 /*****************************************************************************/
@@ -156,6 +156,9 @@ void g_defexport (const char* Name, int ZP);
 void g_defimport (const char* Name, int ZP);
 /* Import the given label */
 
+void g_importstartup (void);
+/* Forced import of the startup segment */
+
 void g_importmainargs (void);
 /* Forced import of a special symbol that handles arguments to main */
 
@@ -395,6 +398,9 @@ void g_truejump (unsigned flags, unsigned label);
 void g_falsejump (unsigned flags, unsigned label);
 /* Jump to label if zero flag set */
 
+void g_drop (unsigned Space);
+/* Drop space allocated on the stack */
+
 void g_space (int space);
 /* Create or drop space on the stack */