MFC after:	3 days
This commit is contained in:
kib 2010-08-23 15:18:35 +00:00
parent 415098b7a0
commit 14144ebea8
2 changed files with 3 additions and 3 deletions

View File

@ -124,7 +124,7 @@ libkern.${MACHINE_ARCH}:: ${KMSRCS}
.if defined(KMSRCS) && !empty(KMSRCS)
cp -p ${.ALLSRC} ${DESTDIR}/sys/libkern/${MACHINE_ARCH}
.endif
.include <bsd.lib.mk>
# Disable warnings in contributed sources.

View File

@ -120,7 +120,7 @@ atexit(void (*func)(void))
int error;
fn.fn_type = ATEXIT_FN_STD;
fn.fn_ptr.std_func = func;;
fn.fn_ptr.std_func = func;
fn.fn_arg = NULL;
fn.fn_dso = NULL;
@ -139,7 +139,7 @@ __cxa_atexit(void (*func)(void *), void *arg, void *dso)
int error;
fn.fn_type = ATEXIT_FN_CXA;
fn.fn_ptr.cxa_func = func;;
fn.fn_ptr.cxa_func = func;
fn.fn_arg = arg;
fn.fn_dso = dso;