File e30fe7c3717a7bda4036448c7777747df1a4e0f9.patch of Package syslog-ng
From e30fe7c3717a7bda4036448c7777747df1a4e0f9 Mon Sep 17 00:00:00 2001
From: Tibor Benke <tibor.benke@balabit.com>
Date: Mon, 24 Aug 2015 12:19:13 +0200
Subject: [PATCH] transport-mapper-unix: remove the second typedef of
_TransportMapperUnix
Signed-off-by: Tibor Benke <tibor.benke@balabit.com>
---
modules/afsocket/transport-mapper-unix.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/afsocket/transport-mapper-unix.c b/modules/afsocket/transport-mapper-unix.c
index 3cb53f9..60d94e9 100644
--- a/modules/afsocket/transport-mapper-unix.c
+++ b/modules/afsocket/transport-mapper-unix.c
@@ -30,12 +30,12 @@
#include <sys/un.h>
-typedef struct _TransportMapperUnix
+struct _TransportMapperUnix
{
TransportMapper super;
gchar *filename;
gboolean pass_unix_credentials;
-} TransportMapperUnix;
+};
static LogTransport*
_create_log_transport(TransportMapper *s, gint fd)