From 57ab8f6b30f18b6f9840870695a154ed170750f3 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 15 Jun 2007 18:23:28 +0000 Subject: [PATCH] Just go with the portable code. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21418 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/tools/fs_shell/driver_settings.cpp | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/tools/fs_shell/driver_settings.cpp b/src/tools/fs_shell/driver_settings.cpp index 7798c93c51..af3a1b4852 100644 --- a/src/tools/fs_shell/driver_settings.cpp +++ b/src/tools/fs_shell/driver_settings.cpp @@ -869,18 +869,9 @@ fssh_get_driver_settings(void *handle) return &((settings_handle *)handle)->settings; } -#ifndef HAIKU_HOST_PLATFORM_DARWIN -// this creates an alias of the above function -// unload_driver_settings() is the same as delete_driver_settings() -extern "C" __typeof(fssh_unload_driver_settings) fssh_delete_driver_settings - __attribute__ ((alias ("fssh_unload_driver_settings"))); -#else -// can't use weak aliases on darwin apparently + fssh_status_t fssh_delete_driver_settings(void *handle) { return fssh_unload_driver_settings(handle); } -#endif - -