@@ -110,6 +110,13 @@ struct config_options {
} error_action;
};
+struct key_value_info {
+ const char *filename;
+ int linenr;
+ enum config_origin_type origin_type;
+ enum config_scope scope;
+};
+
/**
* A config callback function takes three parameters:
*
@@ -612,13 +619,6 @@ int git_config_get_expiry(const char *key, const char **output);
/* parse either "this many days" integer, or "5.days.ago" approxidate */
int git_config_get_expiry_in_days(const char *key, timestamp_t *, timestamp_t now);
-struct key_value_info {
- const char *filename;
- int linenr;
- enum config_origin_type origin_type;
- enum config_scope scope;
-};
-
/**
* First prints the error message specified by the caller in `err` and then
* dies printing the line number and the file name of the highest priority
Move the declaration of the "struct key_value_info" earlier in the file, in a subsequent commit we'll need it shortly after this line. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> --- config.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)