diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-11-10 12:32:48 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-11-10 12:32:48 -0330 |
commit | 03e9a53d5d2cde4b5c80c8f6258f31cc1f82d222 (patch) | |
tree | 927f71cf3fb31c18ff759f70813b31a011449fd4 /cpp/src/IcePatch2Lib/Util.cpp | |
parent | Minor fix to unicode test related to bug 3962 (diff) | |
download | ice-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.cpp | 4 |
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; |