aboutsummaryrefslogtreecommitdiff
path: root/misc/bits
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-19 12:04:34 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-19 12:04:34 -0800
commita7bbf3d742b181bdad41e830f6ef72e632e9fc89 (patch)
tree1da6ad0777c5b135044f5277c80880dca51c6737 /misc/bits
parentd924beb0f2d823d72715aee58f87eba5d4d6ebe3 (diff)
downloadglibc-a7bbf3d742b181bdad41e830f6ef72e632e9fc89.zip
glibc-a7bbf3d742b181bdad41e830f6ef72e632e9fc89.tar.gz
glibc-a7bbf3d742b181bdad41e830f6ef72e632e9fc89.tar.bz2
Remove unnecessary returns.
Diffstat (limited to 'misc/bits')
-rw-r--r--misc/bits/syslog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/bits/syslog.h b/misc/bits/syslog.h
index 853b30c..5d64d7a 100644
--- a/misc/bits/syslog.h
+++ b/misc/bits/syslog.h
@@ -1,5 +1,5 @@
/* Checking macros for syslog functions.
- Copyright (C) 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2007, 2010 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -29,7 +29,7 @@ extern void __syslog_chk (int __pri, int __flag, __const char *__fmt, ...)
__extern_always_inline void
syslog (int __pri, __const char *__fmt, ...)
{
- return __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
+ __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
}
#elif !defined __cplusplus
# define syslog(pri, ...) \
@@ -45,6 +45,6 @@ extern void __vsyslog_chk (int __pri, int __flag, __const char *__fmt,
__extern_always_inline void
vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
{
- return __vsyslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __ap);
+ __vsyslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __ap);
}
#endif