whitespace and comment format fixes, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
416899fca6
commit
a02a4e9830
@ -6,7 +6,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
|
/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
|
||||||
*
|
*
|
||||||
* Changes:
|
* Changes:
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* fold -- wrap each input line to fit in specified width.
|
/*
|
||||||
|
* fold -- wrap each input line to fit in specified width.
|
||||||
*
|
*
|
||||||
* Written by David MacKenzie, djm@gnu.ai.mit.edu.
|
* Written by David MacKenzie, djm@gnu.ai.mit.edu.
|
||||||
* Copyright (C) 91, 1995-2002 Free Software Foundation, Inc.
|
* Copyright (C) 91, 1995-2002 Free Software Foundation, Inc.
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
/*
|
/*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef COREUTILS_H
|
#ifndef COREUTILS_H
|
||||||
#define COREUTILS_H 1
|
#define COREUTILS_H 1
|
||||||
|
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "coreutils.h"
|
#include "coreutils.h"
|
||||||
|
|
||||||
|
@ -17,9 +17,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "coreutils.h"
|
#include "coreutils.h"
|
||||||
|
|
||||||
|
@ -2,13 +2,11 @@
|
|||||||
/*
|
/*
|
||||||
* Mini mktemp implementation for busybox
|
* Mini mktemp implementation for busybox
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Copyright (C) 2000 by Daniel Jacobowitz
|
* Copyright (C) 2000 by Daniel Jacobowitz
|
||||||
* Written by Daniel Jacobowitz <dan@debian.org>
|
* Written by Daniel Jacobowitz <dan@debian.org>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Coreutils 6.12 man page says:
|
/* Coreutils 6.12 man page says:
|
||||||
* mktemp [OPTION]... [TEMPLATE]
|
* mktemp [OPTION]... [TEMPLATE]
|
||||||
* Create a temporary file or directory, safely, and print its name. If
|
* Create a temporary file or directory, safely, and print its name. If
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* nohup - invoke a utility immune to hangups.
|
/*
|
||||||
|
* nohup - invoke a utility immune to hangups.
|
||||||
*
|
*
|
||||||
* Busybox version based on nohup specification at
|
* Busybox version based on nohup specification at
|
||||||
* http://www.opengroup.org/onlinepubs/007904975/utilities/nohup.html
|
* http://www.opengroup.org/onlinepubs/007904975/utilities/nohup.html
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* printf - format and print data
|
/*
|
||||||
|
* printf - format and print data
|
||||||
*
|
*
|
||||||
* Copyright 1999 Dave Cinege
|
* Copyright 1999 Dave Cinege
|
||||||
* Portions copyright (C) 1990-1996 Free Software Foundation, Inc.
|
* Portions copyright (C) 1990-1996 Free Software Foundation, Inc.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
|
/*
|
||||||
|
* Mar 16, 2003 Manuel Novoa III (mjn3@codepoet.org)
|
||||||
*
|
*
|
||||||
* Now does proper error checking on output and returns a failure exit code
|
* Now does proper error checking on output and returns a failure exit code
|
||||||
* if one or more paths cannot be resolved.
|
* if one or more paths cannot be resolved.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* stty -- change and print terminal line settings
|
/*
|
||||||
|
* stty -- change and print terminal line settings
|
||||||
* Copyright (C) 1990-1999 Free Software Foundation, Inc.
|
* Copyright (C) 1990-1999 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
/*
|
/*
|
||||||
* Mini tr implementation for busybox
|
* Mini tr implementation for busybox
|
||||||
*
|
*
|
||||||
** Copyright (c) 1987,1997, Prentice Hall All rights reserved.
|
* Copyright (c) 1987,1997, Prentice Hall All rights reserved.
|
||||||
*
|
*
|
||||||
* The name of Prentice Hall may not be used to endorse or promote
|
* The name of Prentice Hall may not be used to endorse or promote
|
||||||
* products derived from this software without specific prior
|
* products derived from this software without specific prior
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* uname -- print system information
|
/*
|
||||||
|
* uname -- print system information
|
||||||
* Copyright (C) 1989-1999 Free Software Foundation, Inc.
|
* Copyright (C) 1989-1999 Free Software Foundation, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* unlink for busybox
|
/*
|
||||||
|
* unlink for busybox
|
||||||
*
|
*
|
||||||
* Copyright (C) 2014 Isaac Dunham <ibid.ag@gmail.com>
|
* Copyright (C) 2014 Isaac Dunham <ibid.ag@gmail.com>
|
||||||
*
|
*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/*----------------------------------------------------------------------
|
/*
|
||||||
* Mini who is used to display user name, login time,
|
* Mini who is used to display user name, login time,
|
||||||
* idle time and host name.
|
* idle time and host name.
|
||||||
*
|
*
|
||||||
@ -13,8 +13,6 @@
|
|||||||
* Copyright (c) 2002 AYR Networks, Inc.
|
* Copyright (c) 2002 AYR Networks, Inc.
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*
|
|
||||||
*----------------------------------------------------------------------
|
|
||||||
*/
|
*/
|
||||||
//config:config WHO
|
//config:config WHO
|
||||||
//config: bool "who (3.7 kb)"
|
//config: bool "who (3.7 kb)"
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* We are trying to not use printf, this benefits the case when selected
|
/* We are trying to not use printf, this benefits the case when selected
|
||||||
* applets are really simple. Example:
|
* applets are really simple. Example:
|
||||||
*
|
*
|
||||||
|
@ -1,18 +1,17 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* ifconfig
|
/*
|
||||||
|
* ifconfig
|
||||||
*
|
*
|
||||||
* Similar to the standard Unix ifconfig, but with only the necessary
|
* Similar to the standard Unix ifconfig, but with only the necessary
|
||||||
* parts for AF_INET, and without any printing of if info (for now).
|
* parts for AF_INET, and without any printing of if info (for now).
|
||||||
*
|
*
|
||||||
* Bjorn Wesen, Axis Communications AB
|
* Bjorn Wesen, Axis Communications AB
|
||||||
*
|
*
|
||||||
*
|
|
||||||
* Authors of the original ifconfig was:
|
* Authors of the original ifconfig was:
|
||||||
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
|
* Fred N. van Kempen, <waltje@uwalt.nl.mugnet.org>
|
||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Heavily modified by Manuel Novoa III Mar 6, 2001
|
* Heavily modified by Manuel Novoa III Mar 6, 2001
|
||||||
*
|
*
|
||||||
|
@ -11,7 +11,6 @@
|
|||||||
*
|
*
|
||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ip_common.h" /* #include "libbb.h" is inside */
|
#include "ip_common.h" /* #include "libbb.h" is inside */
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
* Changes:
|
* Changes:
|
||||||
* Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
|
* Laszlo Valko <valko@linux.karinthy.hu> 990223: address label must be zero terminated
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <fnmatch.h>
|
#include <fnmatch.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/if_arp.h>
|
#include <net/if_arp.h>
|
||||||
|
@ -9,7 +9,6 @@
|
|||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
* Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
|
* Kunihiro Ishiguro <kunihiro@zebra.org> 001102: rtnh_ifindex was not initialized
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ip_common.h" /* #include "libbb.h" is inside */
|
#include "ip_common.h" /* #include "libbb.h" is inside */
|
||||||
#include "common_bufsiz.h"
|
#include "common_bufsiz.h"
|
||||||
#include "rt_names.h"
|
#include "rt_names.h"
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
* initially integrated into busybox by Bernhard Reutner-Fischer
|
* initially integrated into busybox by Bernhard Reutner-Fischer
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
@ -10,7 +10,6 @@
|
|||||||
* Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit
|
* Rani Assaf <rani@magic.metawire.com> 980930: do not allow key for ipip/sit
|
||||||
* Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag
|
* Phil Karn <karn@ka9q.ampr.org> 990408: "pmtudisc" flag
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <netinet/ip.h>
|
#include <netinet/ip.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <net/if_arp.h>
|
#include <net/if_arp.h>
|
||||||
|
@ -7,14 +7,12 @@
|
|||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <net/if_arp.h>
|
#include <net/if_arp.h>
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "rt_names.h"
|
#include "rt_names.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
|
||||||
const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
|
const char* FAST_FUNC ll_addr_n2a(unsigned char *addr, int alen, int type, char *buf, int blen)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
* Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "rt_names.h"
|
#include "rt_names.h"
|
||||||
#include "utils.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)
|
int FAST_FUNC rtnl_rtntype_a2n(int *id, char *arg)
|
||||||
{
|
{
|
||||||
static const char keywords[] ALIGN1 =
|
static const char keywords[] ALIGN1 =
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
* Rani Assaf <rani@magic.metawire.com> 980929: resolve addresses
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
#include "inet_common.h"
|
#include "inet_common.h"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* 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, 1999 Charles P. Wright
|
||||||
* Copyright (C) 1998 Dave Cinege
|
* Copyright (C) 1998 Dave Cinege
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* vi: set sw=4 ts=4: */
|
/* vi: set sw=4 ts=4: */
|
||||||
/* route
|
/*
|
||||||
|
* route
|
||||||
*
|
*
|
||||||
* Similar to the standard Unix route, but with only the necessary
|
* Similar to the standard Unix route, but with only the necessary
|
||||||
* parts for AF_INET and AF_INET6
|
* parts for AF_INET and AF_INET6
|
||||||
@ -18,7 +19,6 @@
|
|||||||
*
|
*
|
||||||
* IPV6 support added by Bart Visscher <magick@linux-fan.com>
|
* IPV6 support added by Bart Visscher <magick@linux-fan.com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* 2004/03/09 Manuel Novoa III <mjn3@codepoet.org>
|
/* 2004/03/09 Manuel Novoa III <mjn3@codepoet.org>
|
||||||
*
|
*
|
||||||
* Rewritten to fix several bugs, add additional error checking, and
|
* Rewritten to fix several bugs, add additional error checking, and
|
||||||
|
@ -18,7 +18,6 @@
|
|||||||
* <jam@ltsp.org>
|
* <jam@ltsp.org>
|
||||||
* Modified 2004/02/11 to add ability to pass the USER variable to remote host
|
* Modified 2004/02/11 to add ability to pass the USER variable to remote host
|
||||||
* by Fernando Silveira <swrh@gmx.net>
|
* by Fernando Silveira <swrh@gmx.net>
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
//config:config TELNET
|
//config:config TELNET
|
||||||
//config: bool "telnet (8.7 kb)"
|
//config: bool "telnet (8.7 kb)"
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* ZCIP just manages the 169.254.*.* addresses. That network is not
|
* ZCIP just manages the 169.254.*.* addresses. That network is not
|
||||||
* routed at the IP level, though various proxies or bridges can
|
* routed at the IP level, though various proxies or bridges can
|
||||||
|
Loading…
Reference in New Issue
Block a user