aboutsummaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:40:24 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-10-05 14:40:24 +0200
commitebe6d9d8758d36e03cf39b6587597c67ab778436 (patch)
tree8f45b962c04005a6c718c583dd59d0ce0323545c /networking
parent099ef9324e88679e0b26f6f13476583e03f53dee (diff)
downloadbusybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.gz
busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.tar.bz2
busybox-w32-ebe6d9d8758d36e03cf39b6587597c67ab778436.zip
whitespace and comment format fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/ifupdown.c22
-rw-r--r--networking/interface.c1
-rw-r--r--networking/libiproute/ipneigh.c1
-rw-r--r--networking/libiproute/libnetlink.c1
-rw-r--r--networking/libiproute/ll_map.c1
-rw-r--r--networking/libiproute/ll_proto.c1
-rw-r--r--networking/udhcp/dhcpc.c1
-rw-r--r--networking/udhcp/dhcprelay.c3
-rw-r--r--networking/udhcp/domain_codec.c4
9 files changed, 15 insertions, 20 deletions
diff --git a/networking/ifupdown.c b/networking/ifupdown.c
index 5521e8a5a..534c9f0c7 100644
--- a/networking/ifupdown.c
+++ b/networking/ifupdown.c
@@ -1,18 +1,18 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * ifup/ifdown for busybox 3 * ifup/ifdown for busybox
4 * Copyright (c) 2002 Glenn McGrath 4 * Copyright (c) 2002 Glenn McGrath
5 * Copyright (c) 2003-2004 Erik Andersen <andersen@codepoet.org> 5 * Copyright (c) 2003-2004 Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * Based on ifupdown v 0.6.4 by Anthony Towns 7 * Based on ifupdown v 0.6.4 by Anthony Towns
8 * Copyright (c) 1999 Anthony Towns <aj@azure.humbug.org.au> 8 * Copyright (c) 1999 Anthony Towns <aj@azure.humbug.org.au>
9 * 9 *
10 * Changes to upstream version 10 * Changes to upstream version
11 * Remove checks for kernel version, assume kernel version 2.2.0 or better. 11 * Remove checks for kernel version, assume kernel version 2.2.0 or better.
12 * Lines in the interfaces file cannot wrap. 12 * Lines in the interfaces file cannot wrap.
13 * To adhere to the FHS, the default state file is /var/run/ifstate 13 * To adhere to the FHS, the default state file is /var/run/ifstate
14 * (defined via CONFIG_IFUPDOWN_IFSTATE_PATH) and can be overridden by build 14 * (defined via CONFIG_IFUPDOWN_IFSTATE_PATH) and can be overridden by build
15 * configuration. 15 * configuration.
16 * 16 *
17 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 17 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
18 */ 18 */
diff --git a/networking/interface.c b/networking/interface.c
index 119185881..89427f2f4 100644
--- a/networking/interface.c
+++ b/networking/interface.c
@@ -30,7 +30,6 @@
30 * 20001008 - Bernd Eckenfels, Patch from RH for setting mtu 30 * 20001008 - Bernd Eckenfels, Patch from RH for setting mtu
31 * (default AF was wrong) 31 * (default AF was wrong)
32 */ 32 */
33
34#include "libbb.h" 33#include "libbb.h"
35#include "inet_common.h" 34#include "inet_common.h"
36#include <net/if.h> 35#include <net/if.h>
diff --git a/networking/libiproute/ipneigh.c b/networking/libiproute/ipneigh.c
index 2a1c20e20..1cd90d707 100644
--- a/networking/libiproute/ipneigh.c
+++ b/networking/libiproute/ipneigh.c
@@ -6,7 +6,6 @@
6 * 6 *
7 * Ported to Busybox by: Curt Brune <curt@cumulusnetworks.com> 7 * Ported to Busybox by: Curt Brune <curt@cumulusnetworks.com>
8 */ 8 */
9
10#include "ip_common.h" /* #include "libbb.h" is inside */ 9#include "ip_common.h" /* #include "libbb.h" is inside */
11#include "common_bufsiz.h" 10#include "common_bufsiz.h"
12#include "rt_names.h" 11#include "rt_names.h"
diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c
index 7e0ff1b6c..3f0f70326 100644
--- a/networking/libiproute/libnetlink.c
+++ b/networking/libiproute/libnetlink.c
@@ -7,7 +7,6 @@
7 * 7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
9 */ 9 */
10
11#include <sys/socket.h> 10#include <sys/socket.h>
12#include <sys/uio.h> 11#include <sys/uio.h>
13 12
diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c
index af9eb46f7..be88a04e8 100644
--- a/networking/libiproute/ll_map.c
+++ b/networking/libiproute/ll_map.c
@@ -7,7 +7,6 @@
7 * 7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
9 */ 9 */
10
11#include <net/if.h> /* struct ifreq and co. */ 10#include <net/if.h> /* struct ifreq and co. */
12 11
13#include "libbb.h" 12#include "libbb.h"
diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c
index 4c32ae574..7d46221ac 100644
--- a/networking/libiproute/ll_proto.c
+++ b/networking/libiproute/ll_proto.c
@@ -7,7 +7,6 @@
7 * 7 *
8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
9 */ 9 */
10
11#include "libbb.h" 10#include "libbb.h"
12#include "rt_names.h" 11#include "rt_names.h"
13#include "utils.h" 12#include "utils.h"
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 0013f4aa7..55f21c187 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -1,7 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * udhcp client 3 * udhcp client
4 *
5 * Russ Dill <Russ.Dill@asu.edu> July 2001 4 * Russ Dill <Russ.Dill@asu.edu> July 2001
6 * 5 *
7 * This program is free software; you can redistribute it and/or modify 6 * This program is free software; you can redistribute it and/or modify
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index ea84c0dd7..4d5644093 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -1,5 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* Port to Busybox Copyright (C) 2006 Jesse Dutton <jessedutton@gmail.com> 2/*
3 * Port to Busybox Copyright (C) 2006 Jesse Dutton <jessedutton@gmail.com>
3 * 4 *
4 * Licensed under GPLv2, see file LICENSE in this source tree. 5 * Licensed under GPLv2, see file LICENSE in this source tree.
5 * 6 *
diff --git a/networking/udhcp/domain_codec.c b/networking/udhcp/domain_codec.c
index 5a923cc2c..b7a3a5353 100644
--- a/networking/udhcp/domain_codec.c
+++ b/networking/udhcp/domain_codec.c
@@ -1,6 +1,6 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2 2/*
3/* RFC1035 domain compression routines (C) 2007 Gabriel Somlo <somlo at cmu.edu> 3 * RFC1035 domain compression routines (C) 2007 Gabriel Somlo <somlo at cmu.edu>
4 * 4 *
5 * Loosely based on the isc-dhcpd implementation by dhankins@isc.org 5 * Loosely based on the isc-dhcpd implementation by dhankins@isc.org
6 * 6 *