diff options
author | Volker Lendecke <vl@samba.org> | 2015-12-27 11:18:47 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-01-06 00:54:17 +0100 |
commit | ef8049b24353ea657d6fba989a294939c58895cb (patch) | |
tree | ef6afd72613615e0aedebb4c4646ab6710661375 | |
parent | f908e6560bcb06938bee9019d43b622eb31fb2c3 (diff) | |
download | samba-ef8049b24353ea657d6fba989a294939c58895cb.tar.gz |
asn1: Make "struct nesting" private
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
-rw-r--r-- | lib/util/asn1.c | 6 | ||||
-rw-r--r-- | lib/util/asn1.h | 6 |
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/util/asn1.c b/lib/util/asn1.c index d8d0f9994ee..dcab2bd5570 100644 --- a/lib/util/asn1.c +++ b/lib/util/asn1.c @@ -20,6 +20,12 @@ #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) { diff --git a/lib/util/asn1.h b/lib/util/asn1.h index 0cf5fbc69d2..f77036fbcbd 100644 --- a/lib/util/asn1.h +++ b/lib/util/asn1.h @@ -20,11 +20,7 @@ #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; |