whitespace and comment format fixes, no code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2017-10-05 15:19:25 +02:00
parent 416899fca6
commit a02a4e9830
28 changed files with 22 additions and 38 deletions

View File

@@ -1,18 +1,17 @@
/* vi: set sw=4 ts=4: */
/* ifconfig
/*
* ifconfig
*
* Similar to the standard Unix ifconfig, but with only the necessary
* parts for AF_INET, and without any printing of if info (for now).
*
* Bjorn Wesen, Axis Communications AB
*
*
* Authors of the original ifconfig was:
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* Heavily modified by Manuel Novoa III Mar 6, 2001
*

View File

@@ -11,7 +11,6 @@
*
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
*/
#include "ip_common.h" /* #include "libbb.h" is inside */
#include "utils.h"

View File

@@ -7,7 +7,6 @@
* Changes:
* Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
*/
#include <fnmatch.h>
#include <net/if.h>
#include <net/if_arp.h>

View File

@@ -9,7 +9,6 @@
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
* Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
*/
#include "ip_common.h" /* #include "libbb.h" is inside */
#include "common_bufsiz.h"
#include "rt_names.h"

View File

@@ -12,7 +12,6 @@
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
* initially integrated into busybox by Bernhard Reutner-Fischer
*/
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>

View File

@@ -10,7 +10,6 @@
* Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit
* Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag
*/
#include <netinet/ip.h>
#include <net/if.h>
#include <net/if_arp.h>

View File

@@ -7,14 +7,12 @@
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*/
#include <net/if_arp.h>
#include "libbb.h"
#include "rt_names.h"
#include "utils.h"
const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
{
int i;

View File

@@ -7,7 +7,6 @@
*
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
*/
#include "libbb.h"
#include "rt_names.h"
#include "utils.h"
@@ -44,7 +43,6 @@ const char* FAST_FUNC rtnl_rtntype_n2a(int id)
}
}
int FAST_FUNC rtnl_rtntype_a2n(int *id, char *arg)
{
static const char keywords[] ALIGN1 =

View File

@@ -8,7 +8,6 @@
*
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
*/
#include "libbb.h"
#include "utils.h"
#include "inet_common.h"

View File

@@ -1,5 +1,6 @@
/* vi: set sw=4 ts=4: */
/* nc: mini-netcat - built from the ground up for LRP
/*
* nc: mini-netcat - built from the ground up for LRP
*
* Copyright (C) 1998, 1999 Charles P. Wright
* Copyright (C) 1998 Dave Cinege

View File

@@ -1,5 +1,6 @@
/* vi: set sw=4 ts=4: */
/* route
/*
* route
*
* Similar to the standard Unix route, but with only the necessary
* parts for AF_INET and AF_INET6
@@ -18,7 +19,6 @@
*
* IPV6 support added by Bart Visscher <magick@linux-fan.com>
*/
/* 2004/03/09 Manuel Novoa III <mjn3@codepoet.org>
*
* Rewritten to fix several bugs, add additional error checking, and

View File

@@ -18,7 +18,6 @@
* <jam@ltsp.org>
* Modified 2004/02/11 to add ability to pass the USER variable to remote host
* by Fernando Silveira <swrh@gmx.net>
*
*/
//config:config TELNET
//config: bool "telnet (8.7 kb)"

View File

@@ -8,7 +8,6 @@
*
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
/*
* ZCIP just manages the 169.254.*.* addresses. That network is not
* routed at the IP level, though various proxies or bridges can