projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pscan: new applet (portscanner). ~1350 bytes. By Tito <farmatito@tiscali.it>
[oweals/busybox.git]
/
networking
/
libiproute
/
ip_parse_common_args.c
diff --git
a/networking/libiproute/ip_parse_common_args.c
b/networking/libiproute/ip_parse_common_args.c
index 00a891232a259bea41a6d7397fe4f5810e7987e3..cea5b47539d55cb4ce9ed027cae1de5f80006512 100644
(file)
--- a/
networking/libiproute/ip_parse_common_args.c
+++ b/
networking/libiproute/ip_parse_common_args.c
@@
-15,16
+15,12
@@
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
*/
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
*/
-#include <string.h>
-
-#include "libbb.h"
+#include "ip_common.h" /* #include "libbb.h" is inside */
#include "utils.h"
#include "utils.h"
-#include "ip_common.h"
-
int preferred_family = AF_UNSPEC;
int preferred_family = AF_UNSPEC;
-
int oneline = 0
;
-c
onst char * _SL_ = NULL
;
+
smallint oneline
;
+c
har _SL_
;
void ip_parse_common_args(int *argcp, char ***argvp)
{
void ip_parse_common_args(int *argcp, char ***argvp)
{
@@
-73,7
+69,7
@@
void ip_parse_common_args(int *argcp, char ***argvp)
argc--;
argv++;
}
argc--;
argv++;
}
- _SL_ = oneline ?
"\\" : "\n"
;
+ _SL_ = oneline ?
'\\' : '\n'
;
*argcp = argc;
*argvp = argv;
}
*argcp = argc;
*argvp = argv;
}