aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-07 16:24:46 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-07 16:24:46 +0000
commit5625415085e68ac5e150f54e685417c866620d76 (patch)
tree4146667d4080f97bc39ac96d844c01a8956aeeca /networking/wget.c
parent890ac9deb2cc57cadd7aba4ee91bd012e19e239d (diff)
downloadbusybox-w32-5625415085e68ac5e150f54e685417c866620d76.tar.gz
busybox-w32-5625415085e68ac5e150f54e685417c866620d76.tar.bz2
busybox-w32-5625415085e68ac5e150f54e685417c866620d76.zip
dd: make it recognize not only 'k' but 'K' too;
make it (partially) CONFIG_LFS-aware
Diffstat (limited to 'networking/wget.c')
-rw-r--r--networking/wget.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/networking/wget.c b/networking/wget.c
index 788c291b9..eda0bb87c 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -13,22 +13,6 @@
13#include "busybox.h" 13#include "busybox.h"
14#include <getopt.h> /* for struct option */ 14#include <getopt.h> /* for struct option */
15 15
16#ifdef CONFIG_LFS
17# define FILEOFF_TYPE off64_t
18# define FILEOFF_FMT "%lld"
19# define LSEEK lseek64
20# define STRTOOFF strtoll
21# define SAFE_STRTOOFF safe_strtoll
22/* stat64 etc as needed... */
23#else
24# define FILEOFF_TYPE off_t
25# define FILEOFF_FMT "%ld"
26# define LSEEK lseek
27# define STRTOOFF strtol
28# define SAFE_STRTOOFF safe_strtol
29/* Do we need to undefine O_LARGEFILE? */
30#endif
31
32struct host_info { 16struct host_info {
33 // May be used if we ever will want to free() all xstrdup()s... 17 // May be used if we ever will want to free() all xstrdup()s...
34 /* char *allocated; */ 18 /* char *allocated; */