From 0f600af80aa9d2f76988e68ef1f2bbbb5cdd7f10 Mon Sep 17 00:00:00 2001 From: Ricky Elrod Date: Wed, 13 Aug 2014 11:05:05 -0400 Subject: [PATCH] Add a tag name to hamlib_port_t. I am making a Haskell binding to hamlib and this anonymous struct was creating some issues for me. I am not a C-coder by day, but I think this is harmless to add here. Signed-off-by: Ricky Elrod --- include/hamlib/rig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 67313625b..faf3fd70a 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -1335,7 +1335,7 @@ struct rig_caps { * * Of course, looks like OO painstakingly programmed in C, sigh. */ -typedef struct { +typedef struct hamlib_port { union { rig_port_t rig; /*!< Communication port type */ ptt_type_t ptt; /*!< PTT port type */