]> git.sur5r.net Git - cc65/blobdiff - src/ld65/extsyms.h
Merge remote-tracking branch 'upstream/master' into a5200
[cc65] / src / ld65 / extsyms.h
index 56edf0224bfd2cb4600511ea6d32cb45b07036d1..a394ad76ab830d04dfc9f794c30070f615e71482 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                extsyms.h                                 */
+/*                                 extsyms.h                                 */
 /*                                                                           */
-/*     Handle program external symbols for relocatable output formats       */
+/*      Handle program external symbols for relocatable output formats       */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                          Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
@@ -53,12 +53,12 @@ typedef struct ExtSymTab ExtSymTab;
 
 
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
 
-ExtSym* NewExtSym (ExtSymTab* Tab, const char* Name);
+ExtSym* NewExtSym (ExtSymTab* Tab, unsigned Name);
 /* Create a new external symbol and insert it into the list */
 
 ExtSymTab* NewExtSymTab (void);
@@ -67,7 +67,7 @@ ExtSymTab* NewExtSymTab (void);
 void FreeExtSymTab (ExtSymTab* Tab);
 /* Free an external symbol structure */
 
-ExtSym* GetExtSym (const ExtSymTab* Tab, const char* Name);
+ExtSym* GetExtSym (const ExtSymTab* Tab, unsigned Name);
 /* Return the entry for the external symbol with the given name. Return NULL
  * if there is no such symbol.
  */
@@ -83,8 +83,8 @@ const ExtSym* ExtSymList (const ExtSymTab* Tab);
 unsigned ExtSymNum (const ExtSym* E);
 /* Return the number of an external symbol */
 
-const char* ExtSymName (const ExtSym* E);
-/* Return the symbol name */
+unsigned ExtSymName (const ExtSym* E);
+/* Return the symbol name index */
 
 const ExtSym* ExtSymNext (const ExtSym* E);
 /* Return the next symbol in the list */
@@ -94,7 +94,3 @@ const ExtSym* ExtSymNext (const ExtSym* E);
 /* End of extsyms.h */
 
 #endif
-
-
-
-