*/
#include "unarchive.h"
-//#include <unistd.h>
void data_extract_to_stdout(archive_handle_t *archive_handle)
{
* 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)
{
* 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"
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;
static int cur_history;
#endif
-//#include <termios.h>
#define setTermSettings(fd,argp) tcsetattr(fd, TCSANOW, argp)
#define getTermSettings(fd,argp) tcgetattr(fd, argp);