A
andrejohn.mas
Hi,
I am writing a C++ program that needs to include a C header file. The
problem I am having is that a couple
of the functions have 'new' as parameter name:
int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,
size_t *oldlenp, void *new, size_t newlen,
size_t *retval);
int userland_sysctl(struct proc *p, int *name, u_int namelen, void
*old,
size_t *oldlenp, int inkernel, void *new, size_t newlen,
size_t *retval);
Is there any way to include this file without my C++ compiler failing
because if this?
Andre
I am writing a C++ program that needs to include a C header file. The
problem I am having is that a couple
of the functions have 'new' as parameter name:
int kernel_sysctl(struct proc *p, int *name, u_int namelen, void *old,
size_t *oldlenp, void *new, size_t newlen,
size_t *retval);
int userland_sysctl(struct proc *p, int *name, u_int namelen, void
*old,
size_t *oldlenp, int inkernel, void *new, size_t newlen,
size_t *retval);
Is there any way to include this file without my C++ compiler failing
because if this?
Andre