Make hint.c/hint.h const correct

Not a rigorous pass, just added const to the more obvious places.
This commit is contained in:
Esa Korhonen
2017-03-08 09:50:53 +02:00
parent f18a40ce73
commit 5c0ec3e356
2 changed files with 11 additions and 11 deletions

View File

@ -50,11 +50,11 @@ typedef struct hint
struct hint *next; /*< Another hint for this buffer */
} HINT;
extern HINT *hint_alloc(HINT_TYPE, void *, unsigned int);
extern HINT *hint_create_parameter(HINT *, char *, char *);
extern HINT *hint_create_route(HINT *, HINT_TYPE, char *);
extern void hint_free(HINT *);
extern HINT *hint_dup(HINT *);
bool hint_exists(HINT **, HINT_TYPE);
HINT *hint_alloc(HINT_TYPE, void *, unsigned int);
HINT *hint_create_parameter(HINT *, char *, const char *);
HINT *hint_create_route(HINT *, HINT_TYPE, const char *);
void hint_free(HINT *);
HINT *hint_dup(const HINT *);
bool hint_exists(HINT **, HINT_TYPE);
MXS_END_DECLS