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:
Jérôme Duval
2008-01-18 17:39:43 +00:00
parent 5d0afa4e4e
commit bbaaf4b7c3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ KernelMergeObject kernel_core.o :
;
# 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 ;
KernelLd linkhack.so :
+1 -1
View File
@@ -396,7 +396,7 @@ public:
paramSize = parameter->Offset() + parameter->UsedSize();
// output the info for the syscall
file << "\t{ " << syscall->KernelName() << ", "
file << "\t{ (void *)" << syscall->KernelName() << ", "
<< paramSize << " }," << endl;
}