krb5: Make heimdal_version and heimdal_long_version const.
Pretty sure it is not useful for applications to be able to write to this. However, caveat: this could break programs that expect to pass around &heimdal_version or &heimdal_long_version to functions that expect pointers to non-const objects even if they don't modify them.
This commit is contained in:

committed by
Nico Williams

parent
426eb46441
commit
997916e3f6
@@ -39,7 +39,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#ifdef KRB5
|
||||
extern const char *heimdal_version;
|
||||
extern const char *const heimdal_version;
|
||||
#endif
|
||||
#include <version.h>
|
||||
|
||||
|
Reference in New Issue
Block a user