OSDN Git Service

removal of commented-out cruft
authorDenis Vlasenko <vda.linux@googlemail.com>
Fri, 22 Dec 2006 00:45:27 +0000 (00:45 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Fri, 22 Dec 2006 00:45:27 +0000 (00:45 -0000)
archival/libunarchive/data_extract_to_stdout.c
archival/libunarchive/filter_accept_list_reassign.c
archival/libunarchive/get_header_tar_bz2.c
coreutils/cal.c
shell/cmdedit.c

index 2e266c0..d87a4a5 100644 (file)
@@ -4,7 +4,6 @@
  */
 
 #include "unarchive.h"
-//#include <unistd.h>
 
 void data_extract_to_stdout(archive_handle_t *archive_handle)
 {
index 04b6780..0fb536f 100644 (file)
@@ -5,17 +5,13 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
 #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)
 {
index e7a80fc..d8715c0 100644 (file)
@@ -3,13 +3,6 @@
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <signal.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
 #include "libbb.h"
 #include "unarchive.h"
 
index 681a88d..82ebf14 100644 (file)
@@ -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;
index 68772fe..93758c9 100644 (file)
@@ -77,7 +77,6 @@ static int n_history;
 static int cur_history;
 #endif
 
-//#include <termios.h>
 #define setTermSettings(fd,argp) tcsetattr(fd, TCSANOW, argp)
 #define getTermSettings(fd,argp) tcgetattr(fd, argp);