libtasn1.h.in: merge asn1_static_node definition for gtk-doc
Gtk-doc fails to find asn1_static_node fields documentation. Merge
struct asn1_static_node_st with typedef asn1_static_node to let Gtk-doc
find the documentation.
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
diff --git a/lib/includes/libtasn1.h.in b/lib/includes/libtasn1.h.in
index 4889e7b..f2bc106 100644
--- a/lib/includes/libtasn1.h.in
+++ b/lib/includes/libtasn1.h.in
@@ -203,13 +203,12 @@
*
* For the on-disk format of ASN.1 trees, created by asn1_parser2array().
*/
-struct asn1_static_node_st
+typedef struct asn1_static_node_st
{
const char *name; /* Node name */
unsigned int type; /* Node type */
const void *value; /* Node value */
-};
-typedef struct asn1_static_node_st asn1_static_node;
+} asn1_static_node;
/* List of constants for field type of node_asn */
#define ASN1_ETYPE_INVALID 0