mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
lib/guestfs-internal-all.h: Use __restrict__ keyword for very old GCC
RHEL 7 GCC 4.8.5 does not allow the restrict keyword. Use the permitted alternative.
This commit is contained in:
@@ -156,8 +156,8 @@ typedef enum {
|
||||
#ifndef HAVE_ACCEPT4
|
||||
#include <sys/socket.h>
|
||||
|
||||
extern int accept4 (int sockfd, struct sockaddr *restrict addr,
|
||||
socklen_t *restrict addrlen, int flags);
|
||||
extern int accept4 (int sockfd, struct sockaddr *__restrict__ addr,
|
||||
socklen_t *__restrict__ addrlen, int flags);
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_PIPE2
|
||||
|
||||
Reference in New Issue
Block a user