From e25a15c53b0b23934f5a0318520c7ba31f70f4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 25 May 2007 08:24:25 +0000 Subject: [PATCH] This fixes the build with GCC 2.95.3; hopefully it will work with GCC 4 as well as it looks like a compiler bug (at least I would guess typeof() is supposed to propagate the C linkage as well). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21238 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/driver_settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/fs_shell/driver_settings.cpp b/src/tools/fs_shell/driver_settings.cpp index 5e54b0a58f..eda388893c 100644 --- a/src/tools/fs_shell/driver_settings.cpp +++ b/src/tools/fs_shell/driver_settings.cpp @@ -871,6 +871,6 @@ fssh_get_driver_settings(void *handle) // this creates an alias of the above function // unload_driver_settings() is the same as delete_driver_settings() -extern __typeof(fssh_unload_driver_settings) fssh_delete_driver_settings +extern "C" __typeof(fssh_unload_driver_settings) fssh_delete_driver_settings __attribute__ ((alias ("fssh_unload_driver_settings")));