This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/16747] New: the declaration of lio_listio is missing a restrict qualifier
- From: "nszabolcs at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 24 Mar 2014 17:40:05 +0000
- Subject: [Bug libc/16747] New: the declaration of lio_listio is missing a restrict qualifier
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16747
Bug ID: 16747
Summary: the declaration of lio_listio is missing a restrict
qualifier
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: nszabolcs at gmail dot com
CC: drepper.fsp at gmail dot com
lio_listio is declared in glibc as
extern int lio_listio (int __mode,
struct aiocb *const __list[__restrict_arr],
int __nent, struct sigevent *__restrict __sig)
__THROW __nonnull ((2));
but the standard prototype is
http://pubs.opengroup.org/onlinepubs/9699919799/functions/lio_listio.html
int lio_listio(int, struct aiocb *restrict const *restrict, int, struct
sigevent *restrict);
note the two restrict qualifiers in the second argument
these two prototypes are not compatible
--
You are receiving this mail because:
You are on the CC list for the bug.