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 <ricky@elrod.me>
Hamlib-3.0
Ricky Elrod 2014-08-13 11:05:05 -04:00
rodzic 182a014597
commit 0f600af80a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1335,7 +1335,7 @@ struct rig_caps {
* *
* Of course, looks like OO painstakingly programmed in C, sigh. * Of course, looks like OO painstakingly programmed in C, sigh.
*/ */
typedef struct { typedef struct hamlib_port {
union { union {
rig_port_t rig; /*!< Communication port type */ rig_port_t rig; /*!< Communication port type */
ptt_type_t ptt; /*!< PTT port type */ ptt_type_t ptt; /*!< PTT port type */