]> git.sur5r.net Git - cc65/blobdiff - src/cc65/incpath.h
Fixed two compiler warnings.
[cc65] / src / cc65 / incpath.h
index 6e83de21dd83b27cf4ed82098338a8ae0dd51d28..dba920f6d64341129b589eb4704a66541dc955f1 100644 (file)
@@ -6,10 +6,10 @@
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000      Ullrich von Bassewitz                                       */
-/*               Wacholderweg 14                                             */
-/*               D-70597 Stuttgart                                           */
-/* EMail:        uz@musoftware.de                                            */
+/* (C) 2000-2010, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/* common */
+#include "searchpath.h"
+
+
+
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                          Data                                    */
 /*****************************************************************************/
 
 
 
-#define INC_SYS                0x0001          /* Add to system include path */
-#define INC_USER       0x0002          /* Add to user include path */
+extern SearchPath*      SysIncSearchPath;       /* System include path */
+extern SearchPath*      UsrIncSearchPath;       /* User include path */
 
 
 
 
 
 
-void AddIncludePath (const char* NewPath, unsigned Where);
-/* Add a new include path to the existing one */
+void ForgetAllIncludePaths (void);
+/* Remove all include search paths. */
 
-char* FindInclude (const char* Name, unsigned Where);
-/* Find an include file. Return a pointer to a malloced area that contains
- * the complete path, if found, return 0 otherwise.
- */
+void InitIncludePaths (void);
+/* Initialize the include path search list */