summaryrefslogtreecommitdiff
path: root/shell.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-08-20 01:05:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-08-30 05:38:41 (GMT)
commit6ffaecc7d8b2c3c188a2efa5977a6e6605d878d9 (patch)
tree5cd0abbcb2877955f3bc04b896c9fd2704c92e03 /shell.c
parentd2b9dff8a08cc2037a7ba0463e90791f07cb49dd (diff)
downloadgit-6ffaecc7d8b2c3c188a2efa5977a6e6605d878d9.zip
git-6ffaecc7d8b2c3c188a2efa5977a6e6605d878d9.tar.gz
git-6ffaecc7d8b2c3c188a2efa5977a6e6605d878d9.tar.bz2
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 ad60200..e339369 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];