From afc9ff99fd1cbf67eb6e313be247e2e53269a0dc Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Fri, 22 Dec 2006 00:45:27 +0000 Subject: [PATCH] removal of commented-out cruft --- archival/libunarchive/data_extract_to_stdout.c | 1 - archival/libunarchive/filter_accept_list_reassign.c | 10 +++------- archival/libunarchive/get_header_tar_bz2.c | 7 ------- coreutils/cal.c | 5 ----- shell/cmdedit.c | 1 - 5 files changed, 3 insertions(+), 21 deletions(-) diff --git a/archival/libunarchive/data_extract_to_stdout.c b/archival/libunarchive/data_extract_to_stdout.c index 2e266c046..d87a4a595 100644 --- a/archival/libunarchive/data_extract_to_stdout.c +++ b/archival/libunarchive/data_extract_to_stdout.c @@ -4,7 +4,6 @@ */ #include "unarchive.h" -//#include void data_extract_to_stdout(archive_handle_t *archive_handle) { diff --git a/archival/libunarchive/filter_accept_list_reassign.c b/archival/libunarchive/filter_accept_list_reassign.c index 04b678007..0fb536fad 100644 --- a/archival/libunarchive/filter_accept_list_reassign.c +++ b/archival/libunarchive/filter_accept_list_reassign.c @@ -5,17 +5,13 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include - #include "libbb.h" #include "unarchive.h" /* - * Reassign the subarchive metadata parser based on the filename extension - * e.g. if its a .tar.gz modify archive_handle->sub_archive to process a .tar.gz - * or if its a .tar.bz2 make archive_handle->sub_archive handle that + * Reassign the subarchive metadata parser based on the filename extension + * e.g. if its a .tar.gz modify archive_handle->sub_archive to process a .tar.gz + * or if its a .tar.bz2 make archive_handle->sub_archive handle that */ char filter_accept_list_reassign(archive_handle_t *archive_handle) { diff --git a/archival/libunarchive/get_header_tar_bz2.c b/archival/libunarchive/get_header_tar_bz2.c index e7a80fc41..d8715c0bb 100644 --- a/archival/libunarchive/get_header_tar_bz2.c +++ b/archival/libunarchive/get_header_tar_bz2.c @@ -3,13 +3,6 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ -#include -#include -#include -#include -#include -#include -#include #include "libbb.h" #include "unarchive.h" diff --git a/coreutils/cal.c b/coreutils/cal.c index 681a88d90..82ebf143a 100644 --- a/coreutils/cal.c +++ b/coreutils/cal.c @@ -87,11 +87,6 @@ int cal_main(int argc, char **argv) char day_headings[28]; /* 28 for julian, 21 for nonjulian */ char buf[40]; -// Done in busybox.c, ok to remove? -//#ifdef CONFIG_LOCALE_SUPPORT -// setlocale(LC_TIME, ""); -//#endif - flags = getopt32(argc, argv, "jy"); julian = flags & 1; diff --git a/shell/cmdedit.c b/shell/cmdedit.c index 68772fe05..93758c9fb 100644 --- a/shell/cmdedit.c +++ b/shell/cmdedit.c @@ -77,7 +77,6 @@ static int n_history; static int cur_history; #endif -//#include #define setTermSettings(fd,argp) tcsetattr(fd, TCSANOW, argp) #define getTermSettings(fd,argp) tcgetattr(fd, argp); -- 2.11.0