asn1: Make "struct nesting" private
authorVolker Lendecke <vl@samba.org>
Sun, 27 Dec 2015 10:18:47 +0000 (11:18 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 5 Jan 2016 23:54:17 +0000 (00:54 +0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/asn1.c
lib/util/asn1.h

index d8d0f9994ee9c99679015ec6decf1b03d03108e8..dcab2bd5570c30ecb2db7d2787aaabbef47cb05f 100644 (file)
 #include "includes.h"
 #include "../lib/util/asn1.h"
 
+struct nesting {
+       off_t start;
+       size_t taglen; /* for parsing */
+       struct nesting *next;
+};
+
 /* allocate an asn1 structure */
 struct asn1_data *asn1_init(TALLOC_CTX *mem_ctx)
 {
index 0cf5fbc69d266cd2143b0f22db6f449dbaea851e..f77036fbcbd4c16e1c117d159bfd0a0759214986 100644 (file)
 #ifndef _ASN_1_H
 #define _ASN_1_H
 
-struct nesting {
-       off_t start;
-       size_t taglen; /* for parsing */
-       struct nesting *next;
-};
+struct nesting;
 
 struct asn1_data {
        uint8_t *data;