Commit fc4f37a5 authored by Lev Walkin's avatar Lev Walkin

add const

parent dbdc0672
...@@ -142,7 +142,7 @@ asn1p_constraint_prepend(asn1p_constraint_t *before, asn1p_constraint_t *what) { ...@@ -142,7 +142,7 @@ asn1p_constraint_prepend(asn1p_constraint_t *before, asn1p_constraint_t *what) {
} }
char * const char *
asn1p_constraint_type2str(enum asn1p_constraint_type_e type) { asn1p_constraint_type2str(enum asn1p_constraint_type_e type) {
switch(type) { switch(type) {
case ACT_INVALID: case ACT_INVALID:
......
...@@ -69,7 +69,7 @@ typedef struct asn1p_constraint_s { ...@@ -69,7 +69,7 @@ typedef struct asn1p_constraint_s {
} asn1p_constraint_t; } asn1p_constraint_t;
/* Human-readable constraint type description */ /* Human-readable constraint type description */
char *asn1p_constraint_type2str(enum asn1p_constraint_type_e); const char *asn1p_constraint_type2str(enum asn1p_constraint_type_e);
/* /*
* Constructors and a recursive destructor. * Constructors and a recursive destructor.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment