git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH next] Complete prototype of git_config_from_parameters()

From
Thomas Rast <trast@student.ethz.ch>
Date
May 21, 2010, 10:07 UTC
Message-ID
<0c117d8ae7550689d0f19814872ccefe68fb4e62.1274436375.git.trast@student.ethz.ch>

Add the missing argument list. (Its lack triggered a compiler warning for me.)

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
---
On top of 8b1fa778, which is only in 'next' so far.
 cache.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cache.h b/cache.h
index 51d9678..c966023 100644
--- a/cache.h
+++ b/cache.h
@@ -940,7 +940,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 *);
-- 
1.7.1.312.g24d42.dirty
Next: Alex Riesen
Message 1 of 2 in “Complete prototype of git_config_from_parameters()”
  1. Complete prototype of git_config_from_parameters()Thomas Rast, May 21, 2010
  2. Alex RiesenMay 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.