summaryrefslogtreecommitdiff
path: root/include/git2/config.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2011-12-31 05:56:39 +0100
committerVicent Martí <tanoku@gmail.com>2011-12-31 05:58:26 +0100
commit9dd4c3e80690ec08eba604e5218d0f4abb8f1a02 (patch)
tree988b94bf2bad8992d1abbe42ee936dff5cad6cf8 /include/git2/config.h
parent06fcf057b6da37ffd388e4a31c2671b20d0dd21e (diff)
downloadlibgit2-9dd4c3e80690ec08eba604e5218d0f4abb8f1a02.tar.gz
config: Rename the `delete` callback name
`delete` is a reserved keyword in C++.
Diffstat (limited to 'include/git2/config.h')
-rw-r--r--include/git2/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/git2/config.h b/include/git2/config.h
index f78fe40a0..ffafd7959 100644
--- a/include/git2/config.h
+++ b/include/git2/config.h
@@ -30,7 +30,7 @@ struct git_config_file {
int (*open)(struct git_config_file *);
int (*get)(struct git_config_file *, const char *key, const char **value);
int (*set)(struct git_config_file *, const char *key, const char *value);
- int (*delete)(struct git_config_file *, const char *key);
+ int (*del)(struct git_config_file *, const char *key);
int (*foreach)(struct git_config_file *, int (*fn)(const char *, const char *, void *), void *data);
void (*free)(struct git_config_file *);
};