[Bug libc/11194] New: ‘return’ with a value, in function returning void

dick at mrns dot nl sourceware-bugzilla@sourceware.org
Tue Jan 19 19:39:00 GMT 2010


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.



More information about the Glibc-bugs mailing list