From b7934ab3700993f11745979b28bce9dc0070b795 Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 29 Aug 2022 14:49:12 +0200 Subject: [PATCH] socket: Remove needless typedef Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider (cherry picked from commit a69424d4c596bd4cdf07402295e7a7b0f1ce0f8d) --- src/socket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.c b/src/socket.c index 691ff199..4e637ae1 100644 --- a/src/socket.c +++ b/src/socket.c @@ -32,7 +32,7 @@ /* Inlining the key portions of afunix.h in Windows 10 SDK; * that header isn't available in the mingw environment. */ #define UNIX_PATH_MAX 108 -typedef struct sockaddr_un { +struct sockaddr_un { ADDRESS_FAMILY sun_family; char sun_path[UNIX_PATH_MAX]; };