diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-11 08:53:50 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2012-10-11 08:53:50 +0200 |
commit | 2f1c471fbcdbcedf69f914a5a3726107c156b17d (patch) | |
tree | 569956fd136c2a1b6a829b57b22d334edb06d6b2 /tests | |
parent | 546930508edce93729d41c87901b20b2eb3631fc (diff) | |
download | libtasn1-2f1c471fbcdbcedf69f914a5a3726107c156b17d.tar.gz libtasn1-2f1c471fbcdbcedf69f914a5a3726107c156b17d.tar.bz2 libtasn1-2f1c471fbcdbcedf69f914a5a3726107c156b17d.zip |
Renamed structures.
Avoid using the reserved by POSIX _t. Suggested by Ivan Shmakov.
asn1_static_node_t -> asn1_static_node
asn1_node_t -> asn1_node
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Test_encoding.c | 4 | ||||
-rw-r--r-- | tests/Test_indefinite.c | 4 | ||||
-rw-r--r-- | tests/Test_parser.c | 2 | ||||
-rw-r--r-- | tests/Test_tree.c | 4 |
4 files changed, 7 insertions, 7 deletions
diff --git a/tests/Test_encoding.c b/tests/Test_encoding.c index 6b3e7bb..d6c7d57 100644 --- a/tests/Test_encoding.c +++ b/tests/Test_encoding.c @@ -37,8 +37,8 @@ int main (int argc, char *argv[]) { int result, verbose = 0; - asn1_node_t definitions = NULL; - asn1_node_t asn1_element = NULL; + asn1_node definitions = NULL; + asn1_node asn1_element = NULL; char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; const char *treefile = getenv ("ASN1ENCODING"); diff --git a/tests/Test_indefinite.c b/tests/Test_indefinite.c index e951b46..f06db4d 100644 --- a/tests/Test_indefinite.c +++ b/tests/Test_indefinite.c @@ -41,8 +41,8 @@ main (int argc, char *argv[]) { int result; char buffer[10 * 1024]; - asn1_node_t definitions = NULL; - asn1_node_t asn1_element = NULL; + asn1_node definitions = NULL; + asn1_node asn1_element = NULL; char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; FILE *out, *fd; ssize_t size; diff --git a/tests/Test_parser.c b/tests/Test_parser.c index 6b9ef70..4adb0bf 100644 --- a/tests/Test_parser.c +++ b/tests/Test_parser.c @@ -148,7 +148,7 @@ int main (int argc, char *argv[]) { int result; - asn1_node_t definitions = NULL; + asn1_node definitions = NULL; char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; test_type *test; int errorCounter = 0, testCounter = 0; diff --git a/tests/Test_tree.c b/tests/Test_tree.c index 70b6df4..abfaa5e 100644 --- a/tests/Test_tree.c +++ b/tests/Test_tree.c @@ -433,8 +433,8 @@ int main (int argc, char *argv[]) { int result; - asn1_node_t definitions = NULL; - asn1_node_t asn1_element = NULL; + asn1_node definitions = NULL; + asn1_node asn1_element = NULL; char errorDescription[ASN1_MAX_ERROR_DESCRIPTION_SIZE]; FILE *out; test_type *test; |