From 17b2b4ae4a5f18948d5042343abdf044fe91a105 Mon Sep 17 00:00:00 2001 From: heko <> Date: Sun, 12 Aug 2001 12:03:01 +0000 Subject: #(endif|else) foo is incorrect, make it #endif /* foo */ deraadt@ ok --- src/lib/libc/include/thread_private.h | 4 ++-- src/lib/libc/stdlib/abort.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/lib/libc/include/thread_private.h b/src/lib/libc/include/thread_private.h index 6b04fd9f75..29ff13d33c 100644 --- a/src/lib/libc/include/thread_private.h +++ b/src/lib/libc/include/thread_private.h @@ -1,4 +1,4 @@ -/* $OpenBSD: thread_private.h,v 1.6 2001/01/04 21:45:30 todd Exp $ */ +/* $OpenBSD: thread_private.h,v 1.7 2001/08/12 12:03:01 heko Exp $ */ #ifndef _THREAD_PRIVATE_H_ #define _THREAD_PRIVATE_H_ @@ -132,4 +132,4 @@ int _thread_fd_lock_debug(int, int, struct timespec *, const char *, int); void _thread_fd_unlock(int, int); void _thread_fd_unlock_debug(int, int, const char *, int); -#endif _THREAD_PRIVATE_H_ +#endif /* _THREAD_PRIVATE_H_ */ diff --git a/src/lib/libc/stdlib/abort.c b/src/lib/libc/stdlib/abort.c index 4cc6257acb..41a9f0f48b 100644 --- a/src/lib/libc/stdlib/abort.c +++ b/src/lib/libc/stdlib/abort.c @@ -32,7 +32,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: abort.c,v 1.6 1998/11/20 11:18:49 d Exp $"; +static char *rcsid = "$OpenBSD: abort.c,v 1.7 2001/08/12 12:03:01 heko Exp $"; #endif /* LIBC_SCCS and not lint */ #include @@ -57,9 +57,9 @@ abort() sigdelset(&mask, SIGABRT); #ifdef _THREAD_SAFE (void)_thread_sys_sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); -#else _THREAD_SAFE +#else /* _THREAD_SAFE */ (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); -#endif _THREAD_SAFE +#endif /* _THREAD_SAFE */ /* * POSIX requires we flush stdio buffers on abort @@ -78,9 +78,9 @@ abort() (void)signal(SIGABRT, SIG_DFL); #ifdef _THREAD_SAFE (void)_thread_sys_sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); -#else _THREAD_SAFE +#else /* _THREAD_SAFE */ (void)sigprocmask(SIG_SETMASK, &mask, (sigset_t *)NULL); -#endif _THREAD_SAFE +#endif /* _THREAD_SAFE */ (void)kill(getpid(), SIGABRT); exit(1); } -- cgit v1.2.3-55-g6feb