[PATCH] Remove function stubs in shell.c
- From
Stephan Beyer <s-beyer@gmx.net>
- Date
- Jul 18, 2008, 01:06 UTC
- Message-ID
- <1216343197-20290-1-git-send-email-s-beyer@gmx.net>
- In-Reply-To
- <20080718005814.GA4155@spearce.org>
These function stubs may be useful, but because they redefine functions, they provoke a linker error.
Signed-off-by: Stephan Beyer <s-beyer@gmx.net> --- Or would you rather like this one? ;)
shell.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/shell.c b/shell.c index 91ca7de..b27d01c 100644 --- a/shell.c +++ b/shell.c @@ -3,14 +3,6 @@ #include "exec_cmd.h" #include "strbuf.h" -/* Stubs for functions that make no sense for git-shell. These stubs - * are provided here to avoid linking in external redundant modules. - */ -void release_pack_memory(size_t need, int fd){} -void trace_argv_printf(const char **argv, const char *fmt, ...){} -void trace_printf(const char *fmt, ...){} - - static int do_generic_cmd(const char *me, char *arg) { const char *my_argv[4];
-- 1.5.6.3.390.g7b30