summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch2Lib/Util.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2009-11-10 12:32:48 -0330
committerDwayne Boone <dwayne@zeroc.com>2009-11-10 12:32:48 -0330
commit03e9a53d5d2cde4b5c80c8f6258f31cc1f82d222 (patch)
tree927f71cf3fb31c18ff759f70813b31a011449fd4 /cpp/src/IcePatch2Lib/Util.cpp
parentMinor fix to unicode test related to bug 3962 (diff)
downloadice-03e9a53d5d2cde4b5c80c8f6258f31cc1f82d222.tar.bz2
ice-03e9a53d5d2cde4b5c80c8f6258f31cc1f82d222.tar.xz
ice-03e9a53d5d2cde4b5c80c8f6258f31cc1f82d222.zip
Make GCC supported compiler on Sun
Diffstat (limited to 'cpp/src/IcePatch2Lib/Util.cpp')
-rw-r--r--cpp/src/IcePatch2Lib/Util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/IcePatch2Lib/Util.cpp b/cpp/src/IcePatch2Lib/Util.cpp
index ca2510a119c..e8699073978 100644
--- a/cpp/src/IcePatch2Lib/Util.cpp
+++ b/cpp/src/IcePatch2Lib/Util.cpp
@@ -44,7 +44,7 @@ const char* IcePatch2::logFile = "IcePatch2.log";
//
#ifdef __sun
-extern "C" static int
+extern "C" int
ice_scandir(const char* dir, struct dirent*** namelist,
int (*select)(const struct dirent*),
int (*compar)(const void*, const void*))
@@ -101,7 +101,7 @@ ice_scandir(const char* dir, struct dirent*** namelist,
return i;
}
-extern "C" static int
+extern "C" int
ice_alphasort(const void* v1, const void* v2)
{
const struct dirent **a = (const struct dirent **)v1;