gcc4 requires a cast, so we prepend (void *) to cast every syscall function
fixed syscall.cpp inclusions due to renaming git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23611 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -47,7 +47,7 @@ KernelMergeObject kernel_core.o :
|
|||||||
;
|
;
|
||||||
|
|
||||||
# We need to specify the dependency on the generated syscalls files explicitly.
|
# We need to specify the dependency on the generated syscalls files explicitly.
|
||||||
Includes [ FGristFiles syscalls.c ]
|
Includes [ FGristFiles syscalls.cpp ]
|
||||||
: <syscalls>syscall_dispatcher.h <syscalls>syscall_table.h ;
|
: <syscalls>syscall_dispatcher.h <syscalls>syscall_table.h ;
|
||||||
|
|
||||||
KernelLd linkhack.so :
|
KernelLd linkhack.so :
|
||||||
|
|||||||
@@ -396,7 +396,7 @@ public:
|
|||||||
paramSize = parameter->Offset() + parameter->UsedSize();
|
paramSize = parameter->Offset() + parameter->UsedSize();
|
||||||
|
|
||||||
// output the info for the syscall
|
// output the info for the syscall
|
||||||
file << "\t{ " << syscall->KernelName() << ", "
|
file << "\t{ (void *)" << syscall->KernelName() << ", "
|
||||||
<< paramSize << " }," << endl;
|
<< paramSize << " }," << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user