From cde85f3f450f7c3f12e1f7c4a70cb374e4756319 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Tue, 28 Jun 2022 22:57:52 -0400
Subject: Remove redundant `struct` keys
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Because this is C++ code, GCC 12 says things like:

    Socket.hpp:166:24: error:
    redundant class-key ‘struct’ in reference to ‘struct sockaddr_un’
    [-Werror=redundant-tags]
---
 test/socket_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test')

diff --git a/test/socket_test.cpp b/test/socket_test.cpp
index 964a8ae..da05c40 100644
--- a/test/socket_test.cpp
+++ b/test/socket_test.cpp
@@ -47,7 +47,7 @@ main()
     int status = 0;
     waitpid(child_pid, &status, 0);
 
-    struct pollfd pfds[2];
+    pollfd pfds[2];
     pfds[0].fd      = unix_server_sock.fd();
     pfds[0].events  = POLLIN;
     pfds[0].revents = 0;
-- 
cgit v1.2.1