> > #ifdef _WRS_KERNEL
> > ..
> > extern int  open (const char *, int, int);
> > ..
> > #else
> > ..
> > extern int      open (const char *, int, ...);
> > ..
> > #endif      /* _WRS_KERNEL */
> 
> Doesn't _WRS_KERNEL imply that you're building something as part of
the
> kernel? And most likely libcurl is not part of that?
> 
> Then why doesn't the 2-arg version work just fine?

Has no answer...
As you can see in the lib/Makefile.vxworks I didn't specify kernel
option,
But the compiler still asks for 3-argument prototype. 

Reply via email to