Fix dos2unix/tr problem noted by Larry Doolittle.
This commit is contained in:
parent
d6cde0bcf4
commit
1e04ea388f
@ -32,7 +32,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
// if fn is NULL then input is stdin and output is stdout
|
||||
extern int convert(char *fn, int ConvType) {
|
||||
static int convert(char *fn, int ConvType) {
|
||||
char c;
|
||||
char *tempFn = NULL;
|
||||
FILE *in = stdin, *out = stdout;
|
||||
|
@ -32,7 +32,7 @@
|
||||
#include "busybox.h"
|
||||
|
||||
// if fn is NULL then input is stdin and output is stdout
|
||||
extern int convert(char *fn, int ConvType) {
|
||||
static int convert(char *fn, int ConvType) {
|
||||
char c;
|
||||
char *tempFn = NULL;
|
||||
FILE *in = stdin, *out = stdout;
|
||||
|
@ -247,6 +247,6 @@ extern int gz_open(FILE *compressed_file, int *pid);
|
||||
#define CT_AUTO 0
|
||||
#define CT_UNIX2DOS 1
|
||||
#define CT_DOS2UNIX 2
|
||||
extern int convert(char *fn, int ConvType);
|
||||
/* extern int convert(char *fn, int ConvType); */
|
||||
|
||||
#endif /* __LIBBB_H__ */
|
||||
|
@ -247,6 +247,6 @@ extern int gz_open(FILE *compressed_file, int *pid);
|
||||
#define CT_AUTO 0
|
||||
#define CT_UNIX2DOS 1
|
||||
#define CT_DOS2UNIX 2
|
||||
extern int convert(char *fn, int ConvType);
|
||||
/* extern int convert(char *fn, int ConvType); */
|
||||
|
||||
#endif /* __LIBBB_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user