DragonFly kernel List (threaded) for 2003-08
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:
int blah(struct sockaddr *sa, ...);
: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