diff options
author | Thomas Rast <trast@student.ethz.ch> | 2010-05-21 12:07:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-05-21 03:59:12 -0700 |
commit | b3d83d9f2ef1b0f0f53bb7254e234c743aa42817 (patch) | |
tree | 2d8cd2440e227b8a83ef37d8826f379f3507568b | |
parent | 572e4f6a0c14f650d4cd71876e4249be4c3ad019 (diff) | |
download | git-b3d83d9f2ef1b0f0f53bb7254e234c743aa42817.tar.gz git-b3d83d9f2ef1b0f0f53bb7254e234c743aa42817.tar.xz |
Complete prototype of git_config_from_parameters()
Add the missing argument list. (Its lack triggered a compiler warning
for me.)
Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Acked-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -933,7 +933,7 @@ typedef int (*config_fn_t)(const char *, const char *, void *); extern int git_default_config(const char *, const char *, void *); extern int git_config_from_file(config_fn_t fn, const char *, void *); extern int git_config_parse_parameter(const char *text); -extern int git_config_from_parameters(); +extern int git_config_from_parameters(config_fn_t fn, void *data); extern int git_config(config_fn_t fn, void *); extern int git_parse_ulong(const char *, unsigned long *); extern int git_config_int(const char *, const char *); |