diff options
| author | Carlos Martín Nieto <cmn@elego.de> | 2011-03-29 12:29:21 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@elego.de> | 2011-03-29 12:48:47 +0200 |
| commit | 238df5590cfb9f1cfc340938188b2425f9510f48 (patch) | |
| tree | 9ff1b15dc763bc0afa290913d3d3ff0fe5ddd3f9 | |
| parent | 05314b5bf449211726ca7d84f15db3077375a3cd (diff) | |
| download | libgit2-238df5590cfb9f1cfc340938188b2425f9510f48.tar.gz | |
Rename git_config_{type,var} to git_cvar{_type,}
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
| -rw-r--r-- | include/git2/types.h | 2 | ||||
| -rw-r--r-- | src/config.h | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/git2/types.h b/include/git2/types.h index a99195fc4..aa53909d2 100644 --- a/include/git2/types.h +++ b/include/git2/types.h @@ -126,7 +126,7 @@ typedef struct git_index git_index; typedef struct git_config git_config; /** Memory representation of a config variable */ -typedef struct git_config_var git_config_var; +typedef struct git_cvar git_cvar; /** Time in a signature */ typedef struct git_time { diff --git a/src/config.h b/src/config.h index 07d123ef5..2aa9ec804 100644 --- a/src/config.h +++ b/src/config.h @@ -18,10 +18,10 @@ typedef enum { GIT_VAR_INT, GIT_VAR_BOOL, GIT_VAR_STR -} git_config_type; +} git_cvar_type; -struct git_config_var { - git_config_type type; +struct git_cvar { + git_cvar_type type; char *name; union { unsigned char boolean; |
