I get this when compiling with warnings:

../pvfs2/src/io/trove/trove-dbpf/dbpf-alt-aio.c:156: warning: redundant 
redeclaration of 'pread'
/usr/include/unistd.h:341: warning: previous declaration of 'pread' was here
../pvfs2/src/io/trove/trove-dbpf/dbpf-alt-aio.c:157: warning: redundant 
redeclaration of 'pwrite'
/usr/include/unistd.h:344: warning: previous declaration of 'pwrite' was here

Seems the module.mk.in already adds _GNU_SOURCE, which turns on all
the features, so we get pread and pwrite via the header files.  Do
some systems need the explicit declaration in the C file still?

                -- Pete
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to