Using __ppoll64 internally

Cristian Rodríguez crrodriguez@opensuse.org
Thu Sep 9 18:00:00 GMT 2021


HI:

In include/sys/poll.h there is the following.

# if __TIMESIZE == 64
#  define __ppoll64 __ppoll
..

But there is no *declaration* whatsoever anywhere of a symbol __ppoll
, therefore the compiler warns:

../include/sys/poll.h:11:21: warning: implicit declaration of function
‘__ppoll’; did you mean ‘__poll’? [-Wimplicit-function-declaration]
   11 | #  define __ppoll64 __ppoll

linking succeeds anyway; but I suspect this is not intentional.. will
be cool is y2038 devs look at this.


More information about the Libc-alpha mailing list