DragonFly kernel List (threaded) for 2003-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: Prototypes for split syscalls
They should have the real argument types. You don't have to pull in
other header files to declare structural pointers. This will suffice:
/*
* sys/syscall1.h
*/
struct sockaddr;
int blah(struct sockaddr *sa, ...);
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
:Also, should these second level syscall functions be prototyped using
:arguments of type caddr_t instead of (struct sockaddr *) so that we
:don't have to pull in the socket headers, etc... if we don't need them?
:
:I forgot to mention, we need the header to provide the second level
:syscall prototypes for the emulation code. Otherwise, these symbols
:could be static.
:
:--
: David P. Reese, Jr. daver@xxxxxxxxxxxx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]