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
This commit is contained in:
parent
10e5f892a3
commit
e25a15c53b
@ -871,6 +871,6 @@ fssh_get_driver_settings(void *handle)
|
|||||||
|
|
||||||
// this creates an alias of the above function
|
// this creates an alias of the above function
|
||||||
// unload_driver_settings() is the same as delete_driver_settings()
|
// 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")));
|
__attribute__ ((alias ("fssh_unload_driver_settings")));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user