projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to make a "type-punned pointer" warning go away for somebody on the
[oweals/busybox.git]
/
util-linux
/
hexdump.c
diff --git
a/util-linux/hexdump.c
b/util-linux/hexdump.c
index 2181b846d9c22df26f5e3e19ca31fb8ed6010134..136243122a9ec024cb07e29590e470fcd480f8c6 100644
(file)
--- a/
util-linux/hexdump.c
+++ b/
util-linux/hexdump.c
@@
-1,3
+1,4
@@
+/* vi: set sw=4 ts=4: */
/*
* hexdump implementation for busybox
* Based on code from util-linux v 2.11l
/*
* hexdump implementation for busybox
* Based on code from util-linux v 2.11l
@@
-10,7
+11,6
@@
#include "busybox.h"
#include <getopt.h>
#include "busybox.h"
#include <getopt.h>
-#include <string.h>
#include "dump.h"
static void bb_dump_addfile(char *name)
#include "dump.h"
static void bb_dump_addfile(char *name)
@@
-19,7
+19,7
@@
static void bb_dump_addfile(char *name)
FILE *fp;
char *buf;
FILE *fp;
char *buf;
- fp =
bb_
xfopen(name, "r");
+ fp = xfopen(name, "r");
while ((buf = bb_get_chomped_line_from_file(fp)) != NULL) {
p = skip_whitespace(buf);
while ((buf = bb_get_chomped_line_from_file(fp)) != NULL) {
p = skip_whitespace(buf);