mirror of https://github.com/mirror/busybox.git
removal of commented-out cruft
parent
714701c890
commit
afc9ff99fd
|
@ -4,7 +4,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "unarchive.h"
|
#include "unarchive.h"
|
||||||
//#include <unistd.h>
|
|
||||||
|
|
||||||
void data_extract_to_stdout(archive_handle_t *archive_handle)
|
void data_extract_to_stdout(archive_handle_t *archive_handle)
|
||||||
{
|
{
|
||||||
|
|
|
@ -5,17 +5,13 @@
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
* 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 "libbb.h"
|
||||||
#include "unarchive.h"
|
#include "unarchive.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Reassign the subarchive metadata parser based on the filename extension
|
* 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
|
* 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
|
* or if its a .tar.bz2 make archive_handle->sub_archive handle that
|
||||||
*/
|
*/
|
||||||
char filter_accept_list_reassign(archive_handle_t *archive_handle)
|
char filter_accept_list_reassign(archive_handle_t *archive_handle)
|
||||||
{
|
{
|
||||||
|
|
|
@ -3,13 +3,6 @@
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
|
* 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 "libbb.h"
|
||||||
#include "unarchive.h"
|
#include "unarchive.h"
|
||||||
|
|
||||||
|
|
|
@ -87,11 +87,6 @@ int cal_main(int argc, char **argv)
|
||||||
char day_headings[28]; /* 28 for julian, 21 for nonjulian */
|
char day_headings[28]; /* 28 for julian, 21 for nonjulian */
|
||||||
char buf[40];
|
char buf[40];
|
||||||
|
|
||||||
// Done in busybox.c, ok to remove?
|
|
||||||
//#ifdef CONFIG_LOCALE_SUPPORT
|
|
||||||
// setlocale(LC_TIME, "");
|
|
||||||
//#endif
|
|
||||||
|
|
||||||
flags = getopt32(argc, argv, "jy");
|
flags = getopt32(argc, argv, "jy");
|
||||||
|
|
||||||
julian = flags & 1;
|
julian = flags & 1;
|
||||||
|
|
|
@ -77,7 +77,6 @@ static int n_history;
|
||||||
static int cur_history;
|
static int cur_history;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//#include <termios.h>
|
|
||||||
#define setTermSettings(fd,argp) tcsetattr(fd, TCSANOW, argp)
|
#define setTermSettings(fd,argp) tcsetattr(fd, TCSANOW, argp)
|
||||||
#define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
#define getTermSettings(fd,argp) tcgetattr(fd, argp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue