mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-03 04:34:15 +00:00
Add const
qualifier
This fixes a warning in `examples/describe.c` without breaking the main build. OTOH, I'm not sure if this is an API-compatible change.
This commit is contained in:
parent
f85a9c2767
commit
c8022e6ce7
@ -94,7 +94,7 @@ typedef struct {
|
||||
* If the workdir is dirty and this is set, this string will
|
||||
* be appended to the description string.
|
||||
*/
|
||||
char *dirty_suffix;
|
||||
const char *dirty_suffix;
|
||||
} git_describe_format_options;
|
||||
|
||||
#define GIT_DESCRIBE_FORMAT_OPTIONS_VERSION 1
|
||||
|
Loading…
Reference in New Issue
Block a user