As pointed out by mmlr, we only need to provide the symbol, and only in the case of gcc2.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35429 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2010-02-08 00:46:22 +00:00
parent a5c2457fa8
commit 807bdfdf67
2 changed files with 2 additions and 2 deletions

View File

@ -2375,6 +2375,7 @@ FSGetTrashDir(BDirectory *trashDir, dev_t dev)
}
#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 @@ FSGetDeskDir(BDirectory *deskDir, dev_t)
// than /boot, redirect to FSGetDeskDir ignoring the volume argument
return FSGetDeskDir(deskDir);
}
#endif
status_t

View File

@ -195,8 +195,6 @@ _IMPEXP_TRACKER status_t FSCreateNewFolderIn(const node_ref *destDir, entry_ref
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,