Use a common define for RW_BUF_SIZE
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
255e5b4c42
commit
4e3ce28973
|
@ -39,7 +39,6 @@
|
|||
#define PRINTF(fmt,args...)
|
||||
#endif
|
||||
|
||||
#define RW_BUF_SIZE 4096
|
||||
static char *rw_buf;
|
||||
|
||||
static char *DEVMEM = "/dev/mem";
|
||||
|
|
|
@ -224,6 +224,7 @@ int memory_display(char *addr, loff_t offs, unsigned nbytes, int size, int swab)
|
|||
int mem_parse_options(int argc, char *argv[], char *optstr, int *mode,
|
||||
char **sourcefile, char **destfile, int *swab);
|
||||
int open_and_lseek(const char *filename, int mode, loff_t pos);
|
||||
#define RW_BUF_SIZE (unsigned)4096
|
||||
|
||||
extern const char version_string[];
|
||||
#ifdef CONFIG_BANNER
|
||||
|
|
|
@ -6,8 +6,6 @@
|
|||
#include <libbb.h>
|
||||
#include <progress.h>
|
||||
|
||||
#define RW_BUF_SIZE (ulong)4096
|
||||
|
||||
/**
|
||||
* @param[in] src FIXME
|
||||
* @param[out] dst FIXME
|
||||
|
|
Loading…
Reference in New Issue