summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-19 18:05:39 -0700
committerJunio C Hamano <gitster@pobox.com>2008-08-19 18:05:39 -0700
commit4cfc24afc9ffa4d3f1623be8990eea118e82d4fd (patch)
tree65b852977b7ddb8e4ed4f4b7e101be6a751da445 /shell.c
parentc6670b348cb19c74a6d7f6943df4871eb0d8295f (diff)
downloadgit-4cfc24afc9ffa4d3f1623be8990eea118e82d4fd.tar.gz
shell: do not play duplicated definition games to shrink the executable
Playing with linker games to shrink git-shell did not go well with various other platforms and compilers. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'shell.c')
-rw-r--r--shell.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/shell.c b/shell.c
index 6a48de05ff..0f6a727a8c 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];