action is all const all the time. Now to write the dns action.

This commit is contained in:
Meredith L. Patterson 2012-05-24 19:15:24 +02:00
parent 034b3a717f
commit 8959d6db07
3 changed files with 5 additions and 2 deletions

View file

@ -90,7 +90,7 @@ typedef struct parse_result {
* say, structs) and stuff values for them into the void* in the
* tagged union in parsed_token_t.
*/
typedef const parsed_token_t* (*action_t)(parse_result_t *p);
typedef const parsed_token_t* (*action_t)(const parse_result_t *p);
/**
* Type of a boolean attribute-checking function, used in the