]> git.lyx.org Git - lyx.git/blobdiff - src/support/getcwd.C
lyxserver cleanup patch + andre's small patches
[lyx.git] / src / support / getcwd.C
index edf38b3ce59662364881f77d9d2031bfcfce4864..15c12a1acdc31b1922582ec5a3de6fb1aa7301c3 100644 (file)
@@ -5,7 +5,9 @@
 
 #include "support/lyxlib.h"
 
-static inline
+namespace {
+
+inline
 char * l_getcwd(char * buffer, size_t size)
 {
 #ifndef __EMX__
@@ -15,6 +17,8 @@ char * l_getcwd(char * buffer, size_t size)
 #endif
 }
 
+} // namespace anon
+
 
 // Returns current working directory
 string const lyx::getcwd()