summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-08-23 15:18:35 +0000
committerkib <kib@FreeBSD.org>2010-08-23 15:18:35 +0000
commit14144ebea8f9236e6754fdfca897ed79c43e4da3 (patch)
tree3cb0d2cf072280895d84964b00b3349bef87684a
parent415098b7a0b80ee2df0537585e6978bff2e8d28e (diff)
downloadFreeBSD-src-14144ebea8f9236e6754fdfca897ed79c43e4da3.zip
FreeBSD-src-14144ebea8f9236e6754fdfca897ed79c43e4da3.tar.gz
Style.
MFC after: 3 days
-rw-r--r--lib/libc/Makefile2
-rw-r--r--lib/libc/stdlib/atexit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index 9f70330..ad4e5bd 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 aba3edd..a7a9a32 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;
OpenPOWER on IntegriCloud