diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2010-08-23 15:18:35 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2010-08-23 15:18:35 +0000 |
commit | aeaffd647e876e9fb494a1332355d0364fa2fe6c (patch) | |
tree | 3cb0d2cf072280895d84964b00b3349bef87684a /lib | |
parent | 6608cc579e210d6083f73e5c3477e8683a442ae0 (diff) | |
download | src-aeaffd647e876e9fb494a1332355d0364fa2fe6c.tar.gz src-aeaffd647e876e9fb494a1332355d0364fa2fe6c.zip |
Style.
MFC after: 3 days
Notes
Notes:
svn path=/head/; revision=211704
Diffstat (limited to 'lib')
-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 9f7033027c1b..ad4e5bd16290 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -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. diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c index aba3eddeea77..a7a9a32e1dda 100644 --- a/lib/libc/stdlib/atexit.c +++ b/lib/libc/stdlib/atexit.c @@ -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; |