aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2015-07-14 14:12:05 +0100
committerRon Yorston <rmy@pobox.com>2015-07-14 14:12:05 +0100
commit895a1533781ca4713ef92113ab6ac5f2584ddd9d (patch)
tree49c8602e9cd733e6f6c105e94e614b8236677853 /libbb
parent535ec990c50206697852d5c25e94a959f24d86bc (diff)
parent072fc60f29ee3a4ff38f095a9ef149b2e820c8c0 (diff)
downloadbusybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.tar.gz
busybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.tar.bz2
busybox-w32-895a1533781ca4713ef92113ab6ac5f2584ddd9d.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c3
-rw-r--r--libbb/in_ether.c1
-rw-r--r--libbb/procps.c1
-rw-r--r--libbb/xfuncs.c1
4 files changed, 1 insertions, 5 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 06857ed61..e75257a74 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -131,7 +131,7 @@ void FAST_FUNC bb_show_usage(void)
131 full_write2_str(applet_name); 131 full_write2_str(applet_name);
132 full_write2_str(" "); 132 full_write2_str(" ");
133 full_write2_str(p); 133 full_write2_str(p);
134 full_write2_str("\n\n"); 134 full_write2_str("\n");
135 } 135 }
136 if (ENABLE_FEATURE_CLEAN_UP) 136 if (ENABLE_FEATURE_CLEAN_UP)
137 dealloc_usage_messages((char*)usage_string); 137 dealloc_usage_messages((char*)usage_string);
@@ -462,7 +462,6 @@ static void parse_config_file(void)
462 errmsg = "keyword outside section"; 462 errmsg = "keyword outside section";
463 goto pe_label; 463 goto pe_label;
464 } 464 }
465
466 } /* while (1) */ 465 } /* while (1) */
467 466
468 pe_label: 467 pe_label:
diff --git a/libbb/in_ether.c b/libbb/in_ether.c
index 1de383bde..161c8ea3c 100644
--- a/libbb/in_ether.c
+++ b/libbb/in_ether.c
@@ -51,7 +51,6 @@ int FAST_FUNC in_ether(const char *bufp, struct sockaddr *sap)
51 } while (j); 51 } while (j);
52 52
53 *ptr++ = val; 53 *ptr++ = val;
54
55 } while (--i); 54 } while (--i);
56 55
57 /* Error if we aren't at end of string */ 56 /* Error if we aren't at end of string */
diff --git a/libbb/procps.c b/libbb/procps.c
index fff9f8b0b..b597b74f9 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -615,7 +615,6 @@ void FAST_FUNC read_cmdline(char *buf, int col, unsigned pid, const char *comm)
615 buf[comm_len - 1] = ' '; 615 buf[comm_len - 1] = ' ';
616 buf[col - 1] = '\0'; 616 buf[col - 1] = '\0';
617 } 617 }
618
619 } else { 618 } else {
620 snprintf(buf, col, "[%s]", comm); 619 snprintf(buf, col, "[%s]", comm);
621 } 620 }
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index f25ce9446..0c9969640 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -207,7 +207,6 @@ off_t FAST_FUNC fdlength(int fd)
207 else bottom = pos; 207 else bottom = pos;
208 208
209 // If we can't, it's smaller. 209 // If we can't, it's smaller.
210
211 } else { 210 } else {
212 if (bottom == top) { 211 if (bottom == top) {
213 if (!top) return 0; 212 if (!top) return 0;