* src/SDCCmain.c (linkEdit): Added runtime path detection to the mcs51 port.
[fw/sdcc] / src / SDCCutil.h
index 55a8f9f68dc6771e039ad9710dc86342a9fcfa2a..e312256ca7d8cd96dd3fd92796a193e2a2320a69 100644 (file)
@@ -53,10 +53,11 @@ char *join(const char **pplist);
 */
 char *joinn(char **pplist, int n);
 
-/** Returns the characters in p2 past the last matching characters in
-    p1.  
+/** Returns the characters in the path p2 past the last matching characters in
+    p1.  Processes in a host dependent way.  For example, on win32 the
+    test is case insensitive and treats '/' and '\' as the same.
 */
-char *getStringDifference (char *pinto, const char *p1, const char *p2);
+char *getPathDifference (char *pinto, const char *p1, const char *p2);
 
 /** Given a file with path information in the binary files directory,
     returns what PREFIX must be to get this path.  Used for discovery
@@ -84,5 +85,8 @@ bool startsWith (const char *sz, const char *key);
 */
 void chomp (char *sz);
 
+hTab *
+getRuntimeVariables(void);
+
 #endif