From bce41e7f5bfea527c2dafa2302c3a79a6b08f28d Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 8 Mar 2006 14:06:00 +0000 Subject: [PATCH] Fix prototypes. --- lib/libtasn1.h | 4 ++-- lib/parser_aux.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/libtasn1.h b/lib/libtasn1.h index de19378..a14a814 100644 --- a/lib/libtasn1.h +++ b/lib/libtasn1.h @@ -219,9 +219,9 @@ void libtasn1_perror(asn1_retCode error); /* Other utility functions. */ - ASN1_TYPE asn1_find_up(ASN1_TYPE *node); + ASN1_TYPE asn1_find_up(ASN1_TYPE node); - ASN1_TYPE asn1_find_node(ASN1_TYPE *pointer, const char *name); + ASN1_TYPE asn1_find_node(ASN1_TYPE pointer, const char *name); #ifdef __cplusplus } diff --git a/lib/parser_aux.c b/lib/parser_aux.c index 2e5c19d..464ad50 100644 --- a/lib/parser_aux.c +++ b/lib/parser_aux.c @@ -93,8 +93,8 @@ _asn1_add_node(unsigned int type) * * Return value: the searching result. NULL if not found. **/ -ASN1_TYPE * -asn1_find_node(ASN1_TYPE *pointer, const char *name) +ASN1_TYPE +asn1_find_node(ASN1_TYPE pointer, const char *name) { node_asn *p; char *n_end,n[MAX_NAME_SIZE+1]; @@ -373,8 +373,8 @@ _asn1_remove_node(node_asn *node) * * Return value: Return the father of the node, or %NULL if not found. **/ -ASN1_TYPE * -asn1_find_up(ASN1_TYPE *node) +ASN1_TYPE +asn1_find_up(ASN1_TYPE node) { node_asn *p; -- 2.7.4