Author: anevilyak Date: 2010-02-08 01:46:22 +0100 (Mon, 08 Feb 2010) New Revision: 35429 Changeset: http://dev.haiku-os.org/changeset/35429/haiku Modified: haiku/trunk/src/kits/tracker/FSUtils.cpp haiku/trunk/src/kits/tracker/FSUtils.h Log: As pointed out by mmlr, we only need to provide the symbol, and only in the case of gcc2. Modified: haiku/trunk/src/kits/tracker/FSUtils.cpp =================================================================== --- haiku/trunk/src/kits/tracker/FSUtils.cpp 2010-02-08 00:36:25 UTC (rev 35428) +++ haiku/trunk/src/kits/tracker/FSUtils.cpp 2010-02-08 00:46:22 UTC (rev 35429) @@ -2375,6 +2375,7 @@ } +#if __GNUC__ && __GNUC__ <3 // obsolete version of FSGetDeskDir retained for bin compat with // BeIDE and a few other apps that apparently use it status_t @@ -2384,6 +2385,7 @@ // than /boot, redirect to FSGetDeskDir ignoring the volume argument return FSGetDeskDir(deskDir); } +#endif status_t Modified: haiku/trunk/src/kits/tracker/FSUtils.h =================================================================== --- haiku/trunk/src/kits/tracker/FSUtils.h 2010-02-08 00:36:25 UTC (rev 35428) +++ haiku/trunk/src/kits/tracker/FSUtils.h 2010-02-08 00:46:22 UTC (rev 35429) @@ -195,8 +195,6 @@ node_ref *new_node); _IMPEXP_TRACKER void FSCreateTrashDirs(); _IMPEXP_TRACKER status_t FSGetTrashDir(BDirectory *trashDir, dev_t volume); -// obsolete version of FSGetDeskDir kept for binary compat reasons -_IMPEXP_TRACKER status_t FSGetDeskDir(BDirectory *deskDir, dev_t volume); _IMPEXP_TRACKER status_t FSGetDeskDir(BDirectory *deskDir); _IMPEXP_TRACKER status_t FSRecursiveCalcSize(BInfoWindow *, CopyLoopControl* loopControl, BDirectory *, off_t *runningSize,