mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Remove unnecessary returns.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2010-01-19 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
[BZ #11194]
|
||||||
|
* misc/bits/syslog.h (syslog, vsyslog): Remove unnecessary return.
|
||||||
|
|
||||||
2010-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
2010-01-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
||||||
|
|
||||||
* sysdeps/mach/hurd/bits/libc-lock.h
|
* sysdeps/mach/hurd/bits/libc-lock.h
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Checking macros for syslog functions.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
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
|
__extern_always_inline void
|
||||||
syslog (int __pri, __const char *__fmt, ...)
|
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
|
#elif !defined __cplusplus
|
||||||
# define syslog(pri, ...) \
|
# define syslog(pri, ...) \
|
||||||
@ -45,6 +45,6 @@ extern void __vsyslog_chk (int __pri, int __flag, __const char *__fmt,
|
|||||||
__extern_always_inline void
|
__extern_always_inline void
|
||||||
vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
|
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
|
#endif
|
||||||
|
Reference in New Issue
Block a user