public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/11194] New: ‘return’ with a value, in function returning void
@ 2010-01-19 19:39 dick at mrns dot nl
  2010-01-19 20:06 ` [Bug libc/11194] " drepper at redhat dot com
  0 siblings, 1 reply; 3+ messages in thread
From: dick at mrns dot nl @ 2010-01-19 19:39 UTC (permalink / raw)
  To: glibc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1075 bytes --]

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread
[parent not found: <bug-11194-131@http.sourceware.org/bugzilla/>]

end of thread, other threads:[~2014-06-30 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-19 19:39 [Bug libc/11194] New: ‘return’ with a value, in function returning void dick at mrns dot nl
2010-01-19 20:06 ` [Bug libc/11194] " drepper at redhat dot com
     [not found] <bug-11194-131@http.sourceware.org/bugzilla/>
2014-06-30 20:16 ` [Bug libc/11194] ‘return’ " fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).