Martins patches
[fw/sdcc] / src / SDCCutil.h
index 5a635391833f7dbcf1b522d0efbbe7f1a1a75221..6ac097d2cd018b306b65a18889fa260274329d13 100644 (file)
@@ -28,9 +28,6 @@
 #include "SDCChasht.h"
 #include <stdarg.h>
 
-/* PENDING: Hacks as I can't work autoconf */
-#define BINDIR PREFIX "/bin"
-
 /** Given an array of name, value string pairs creates a new hash
     containing all of the pairs.
 */
@@ -60,12 +57,11 @@ char *joinn(char **pplist, int n);
 */
 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
-    of where SDCC is installed.  Returns NULL if the path is
-    impossible.
+/** Given an array of string pointers, returns a string containing all
+    of the strings seperated by spaces.  The returned string is on the
+    heap.  n is the number of strings in the list.
 */
-char *getPrefixFromBinPath (const char *prel);
+char *getBinPath (const char *prel);
 
 /** Returns true if the given path exists.
  */