summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2011-09-17 23:55:22 +0200
committerJoel Rosdahl <joel@rosdahl.net>2011-09-17 23:55:22 +0200
commit7818f97c1ce23a52a5de4da6bfdea1721bbcbfe3 (patch)
tree1154448f1b5bc43d5314e569c1ef5a341403a9ca
parent143ee0557483638b7bbe0963df757d4a03ed7d82 (diff)
downloadccache-7818f97c1ce23a52a5de4da6bfdea1721bbcbfe3.tar.gz
Remove unused print_executed_command function
-rw-r--r--ccache.h1
-rw-r--r--execute.c7
2 files changed, 0 insertions, 8 deletions
diff --git a/ccache.h b/ccache.h
index c2536f5c..2bc7c877 100644
--- a/ccache.h
+++ b/ccache.h
@@ -191,7 +191,6 @@ int execute(char **argv,
const char *path_stderr);
char *find_executable(const char *name, const char *exclude_name);
void print_command(FILE *fp, char **argv);
-void print_executed_command(FILE *fp, char **argv);
/* ------------------------------------------------------------------------- */
/* lockfile.c */
diff --git a/execute.c b/execute.c
index 80e327e5..f1970d37 100644
--- a/execute.c
+++ b/execute.c
@@ -301,10 +301,3 @@ print_command(FILE *fp, char **argv)
}
fprintf(fp, "\n");
}
-
-void
-print_executed_command(FILE *fp, char **argv)
-{
- fprintf(fp, "%s: executing ", MYNAME);
- print_command(fp, argv);
-}