From ab8997f64d069d28c33aca830a6b0574bf6fcda3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 18 Sep 2007 21:34:57 +0000 Subject: Fix linker issues when doing a plugin build, and (hopefully) also on Windows svn-id: r28950 --- backends/fs/dc/dc-fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/fs/dc') diff --git a/backends/fs/dc/dc-fs.cpp b/backends/fs/dc/dc-fs.cpp index bae13d37e7..0b204dc309 100644 --- a/backends/fs/dc/dc-fs.cpp +++ b/backends/fs/dc/dc-fs.cpp @@ -81,7 +81,7 @@ public: * @param str String containing the path. * @return Pointer to the first char of the last component inside str. */ -static const char *lastPathComponent(const Common::String &str) { +const char *lastPathComponent(const Common::String &str) { const char *start = str.c_str(); const char *cur = start + str.size() - 2; -- cgit v1.2.3