diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2010-08-26 11:25:09 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-08-26 11:25:09 +0000 |
| commit | f3872d0380d8703ddc77a061008cab83c8d87a14 (patch) | |
| tree | b7c10aecf10ef2179c81aad1549e51c8b876391d /lib/libc | |
| parent | b2568d6da750468e9d91699b18924da8b7981557 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/Makefile | 2 | ||||
| -rw-r--r-- | lib/libc/stdlib/atexit.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 4f13f8e1f5a5..b48d858de4f3 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -118,7 +118,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. diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c index efd12649e009..916119f315e8 100644 --- a/lib/libc/stdlib/atexit.c +++ b/lib/libc/stdlib/atexit.c @@ -119,7 +119,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; @@ -138,7 +138,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; |
