summaryrefslogtreecommitdiff
path: root/sexp.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2004-10-05 23:44:28 +0200
committerNiels Möller <nisse@lysator.liu.se>2004-10-05 23:44:28 +0200
commit64776de14775e2de644c2339c990d80233b8c466 (patch)
treed3e76ce7e5af2f7fcb911f2289f3fc793d236c56 /sexp.h
parent0fa80515bff75dbe7bb98876e57f822598db7626 (diff)
downloadnettle-64776de14775e2de644c2339c990d80233b8c466.tar.gz
(sexp_iterator_check_types): Use an argument of type
"const uint8_t * const *" for the types list. (sexp_iterator_assoc): Likewise, for the keys list. Rev: src/nettle/sexp.c:1.16 Rev: src/nettle/sexp.h:1.17
Diffstat (limited to 'sexp.h')
-rw-r--r--sexp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sexp.h b/sexp.h
index 40d4fda3..e8547592 100644
--- a/sexp.h
+++ b/sexp.h
@@ -124,7 +124,7 @@ sexp_iterator_check_type(struct sexp_iterator *iterator,
const uint8_t *
sexp_iterator_check_types(struct sexp_iterator *iterator,
unsigned ntypes,
- const uint8_t **types);
+ const uint8_t * const *types);
/* Current element must be a list. Looks up element of type
*
@@ -138,7 +138,7 @@ sexp_iterator_check_types(struct sexp_iterator *iterator,
int
sexp_iterator_assoc(struct sexp_iterator *iterator,
unsigned nkeys,
- const uint8_t **keys,
+ const uint8_t * const *keys,
struct sexp_iterator *values);