--- a/src/utils/pathut.h
+++ b/src/utils/pathut.h
@@ -1,18 +1,11 @@
#ifndef _PATHUT_H_INCLUDED_
#define _PATHUT_H_INCLUDED_
-/* @(#$Id: pathut.h,v 1.3 2005-01-31 14:31:10 dockes Exp $ (C) 2004 J.F.Dockes */
+/* @(#$Id: pathut.h,v 1.4 2005-12-13 12:42:59 dockes Exp $ (C) 2004 J.F.Dockes */
#include <string>
-inline void path_catslash(std::string &s) {
- if (s.empty() || s[s.length() - 1] != '/')
- s += '/';
-}
-inline void path_cat(std::string &s1, const std::string &s2) {
- path_catslash(s1);
- s1 += s2;
-}
-
+extern void path_catslash(std::string &s);
+extern std::string path_cat(const std::string &s1, const std::string &s2);
extern std::string path_getsimple(const std::string &s);
extern std::string path_getfather(const std::string &s);
extern std::string path_home();