This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11194] New: ‘return’ with a value, in function returning void
- From: "dick at mrns dot nl" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 19 Jan 2010 19:38:59 -0000
- Subject: [Bug libc/11194] New: ‘return’ with a value, in function returning void
- Reply-to: sourceware-bugzilla at sourceware dot org
in misc/bits/syslog.h some functions return a value when the return value is
void.
__extern_always_inline void
syslog (int __pri, __const char *__fmt, ...)
{
return __syslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __va_arg_pack ());
}
__extern_always_inline void
vsyslog (int __pri, __const char *__fmt, __gnuc_va_list __ap)
{
return __vsyslog_chk (__pri, __USE_FORTIFY_LEVEL - 1, __fmt, __ap);
}
--
Summary: ?return? with a value, in function returning void
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: dick at mrns dot nl
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=11194
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.