summaryrefslogtreecommitdiff
path: root/coreutils/diff.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-06-06 17:01:00 +0000
committerDenis Vlasenko2007-06-06 17:01:00 +0000
commitae5a8aac26d0fdd77218bb2ce336aa5f5ce82f9d (patch)
treee60be1a0e110d178a3ac36b3bf478e2b656de7e4 /coreutils/diff.c
parentc084d2f205469358d594e89365e3e184f416f005 (diff)
downloadbusybox-ae5a8aac26d0fdd77218bb2ce336aa5f5ce82f9d.zip
busybox-ae5a8aac26d0fdd77218bb2ce336aa5f5ce82f9d.tar.gz
awk: move all data to malloc space
function old new delta evaluate 6448 6728 +280 awk_getline 676 705 +29 parse_expr 726 752 +26 next_token 917 943 +26 next_input_file 237 252 +15 awk_split 498 510 +12 awk_sub 632 643 +11 split_f0 160 170 +10 getvar_s 98 108 +10 ... chain_loop 128 121 -7 nvalloc 179 171 -8 chain_node 107 99 -8 mainseq 12 - -12 endseq 12 - -12 chain_group 640 628 -12 beginseq 12 - -12 awk_exit 112 100 -12 fsrealloc 127 110 -17 static.v 20 - -20 static.rsm 24 - -24 ttt 28 - -28 parse_program 339 311 -28 static.sreg 32 - -32 intvar 76 - -76 static.tspl 84 - -84 rsplitter 84 - -84 fsplitter 84 - -84 ------------------------------------------------------------------------------ (add/remove: 0/39 grow/shrink: 16/11 up/down: 439/-685) Total: -246 bytes
Diffstat (limited to 'coreutils/diff.c')
-rw-r--r--coreutils/diff.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/coreutils/diff.c b/coreutils/diff.c
index faab287..b39a301 100644
--- a/coreutils/diff.c
+++ b/coreutils/diff.c
@@ -155,8 +155,6 @@ struct globals {
} while (0)
-
-
static void print_only(const char *path, size_t dirlen, const char *entry)
{
if (dirlen > 1)
@@ -164,7 +162,6 @@ static void print_only(const char *path, size_t dirlen, const char *entry)
printf("Only in %.*s: %s\n", (int) dirlen, path, entry);
}
-
static void print_status(int val, char *path1, char *path2, char *entry)
{
const char * const _entry = entry ? entry : "";