com_err: Constify xyz_error_strings arrays.
Note: This changes the types of public symbols. It is unlikely that any applications would rightly _write_ to these arrays, but it is possible they might require some UNCONST in order to pass the pointers to other functions that are missing const qualifiers.
This commit is contained in:
committed by
Nico Williams
parent
c69ce29a31
commit
426eb46441
@@ -81,7 +81,7 @@ struct foobar {
|
||||
|
||||
KRB5_LIB_FUNCTION void KRB5_LIB_CALL
|
||||
initialize_error_table_r(struct et_list **list,
|
||||
const char **messages,
|
||||
const char *const *messages,
|
||||
int num_errors,
|
||||
long base)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user