[Bug libc/16747] New: the declaration of lio_listio is missing a restrict qualifier
nszabolcs at gmail dot com
sourceware-bugzilla@sourceware.org
Mon Mar 24 17:40:00 GMT 2014
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.
More information about the Glibc-bugs
mailing list