public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* Missing time64 prototypes for !__REDIRECT compilers
@ 2021-07-05  9:48 Florian Weimer
  2021-07-05 12:06 ` Adhemerval Zanella
  0 siblings, 1 reply; 8+ messages in thread
From: Florian Weimer @ 2021-07-05  9:48 UTC (permalink / raw)
  To: libc-alpha

This pattern looks incorrect to me:

#ifdef __USE_GNU
/* Receive up to VLEN messages as described by VMESSAGES from socket FD.
   Returns the number of messages received or -1 for errors.

   This function is a cancellation point and therefore not marked with
   __THROW.  */
# ifndef __USE_TIME_BITS64
extern int recvmmsg (int __fd, struct mmsghdr *__vmessages,
		     unsigned int __vlen, int __flags,
		     struct timespec *__tmo);
# else
#  ifdef __REDIRECT
extern int __REDIRECT (recvmmsg, (int __fd, struct mmsghdr *__vmessages,
                                  unsigned int __vlen, int __flags,
                                  struct timespec *__tmo),
                       __recvmmsg64);
#  else
#   define recvmmsg __recvmmsg64
#  endif
# endif
#endif

For the !__REDIRECT case, a prototype for __recvmmsg64 is still needed.

Thanks,
Florian


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-05 12:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-05  9:48 Missing time64 prototypes for !__REDIRECT compilers Florian Weimer
2021-07-05 12:06 ` Adhemerval Zanella
2021-07-05 12:15   ` Florian Weimer
2021-07-05 12:26     ` Adhemerval Zanella
2021-07-05 12:42       ` Florian Weimer
2021-07-05 12:44         ` Adhemerval Zanella
2021-07-05 12:50           ` Florian Weimer
2021-07-05 12:55             ` Adhemerval Zanella

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).