diff options
author | "Robert P. J. Day" | 2006-07-02 19:47:05 +0000 |
---|---|---|
committer | "Robert P. J. Day" | 2006-07-02 19:47:05 +0000 |
commit | 63fc1a9e08fabfc8ba96bad80731673ef40bf5cb (patch) | |
tree | 281a0ba5d442380d600e78ee09a775a2181dc55f /networking | |
parent | 087b9d640ed66f37249c09885fa86b27a78554c7 (diff) | |
download | busybox-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.zip busybox-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.tar.gz |
Standardize on the vi editing directives being on the first line.
Diffstat (limited to 'networking')
61 files changed, 61 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c index b9ff4de..d50bbd3 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* $Slackware: inetd.c 1.79s 2001/02/06 13:18:00 volkerdi Exp $ */ /* $OpenBSD: inetd.c,v 1.79 2001/01/30 08:30:57 deraadt Exp $ */ /* $NetBSD: inetd.c,v 1.11 1996/02/22 11:14:41 mycroft Exp $ */ @@ -1801,4 +1802,3 @@ daytime_dg (int s, servtab_t *sep ATTRIBUTE_UNUSED) (void) sendto (s, buffer, strlen (buffer), 0, &sa, sizeof (sa)); } #endif /* CONFIG_FEATURE_INETD_SUPPORT_BUILTIN_DAYTIME */ -/* vi: set sw=4 ts=4: */ diff --git a/networking/interface.c b/networking/interface.c index a666c2e..c3cc7c0 100644 --- a/networking/interface.c +++ b/networking/interface.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * stolen from net-tools-1.59 and stripped down for busybox by * Erik Andersen <andersen@codepoet.org> diff --git a/networking/ip.c b/networking/ip.c index d44cc0d..fe5714f 100644 --- a/networking/ip.c +++ b/networking/ip.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/ipaddr.c b/networking/ipaddr.c index 4317557..c907808 100644 --- a/networking/ipaddr.c +++ b/networking/ipaddr.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/ipcalc.c b/networking/ipcalc.c index 8c61e3a..9838fcf 100644 --- a/networking/ipcalc.c +++ b/networking/ipcalc.c @@ -1,4 +1,4 @@ -/* vi: set sw=4 ts=4 ai: */ +/* vi: set sw=4 ts=4: */ /* * Mini ipcalc implementation for busybox * diff --git a/networking/iplink.c b/networking/iplink.c index 2f13aff..4a28c74 100644 --- a/networking/iplink.c +++ b/networking/iplink.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/iproute.c b/networking/iproute.c index ce58d62..62335a8 100644 --- a/networking/iproute.c +++ b/networking/iproute.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/iptunnel.c b/networking/iptunnel.c index feff1fc..9ae734a 100644 --- a/networking/iptunnel.c +++ b/networking/iptunnel.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/libiproute/ip_common.h b/networking/libiproute/ip_common.h index d594778..cc4b3aa 100644 --- a/networking/libiproute/ip_common.h +++ b/networking/libiproute/ip_common.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef _IP_COMMON_H #define _IP_COMMON_H 1 diff --git a/networking/libiproute/ip_parse_common_args.c b/networking/libiproute/ip_parse_common_args.c index 6d49157..e7084fb 100644 --- a/networking/libiproute/ip_parse_common_args.c +++ b/networking/libiproute/ip_parse_common_args.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ip.c "ip" utility frontend. * diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c index ee9825b..262d3e3 100644 --- a/networking/libiproute/ipaddress.c +++ b/networking/libiproute/ipaddress.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ipaddress.c "ip address". * diff --git a/networking/libiproute/iplink.c b/networking/libiproute/iplink.c index 9e30122..1948efe 100644 --- a/networking/libiproute/iplink.c +++ b/networking/libiproute/iplink.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * iplink.c "ip link". * diff --git a/networking/libiproute/iptunnel.c b/networking/libiproute/iptunnel.c index 9b96920..4524d49 100644 --- a/networking/libiproute/iptunnel.c +++ b/networking/libiproute/iptunnel.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * iptunnel.c "ip tunnel" * diff --git a/networking/libiproute/libnetlink.c b/networking/libiproute/libnetlink.c index 93d6d67..de11d9d 100644 --- a/networking/libiproute/libnetlink.c +++ b/networking/libiproute/libnetlink.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * libnetlink.c RTnetlink service routines. * diff --git a/networking/libiproute/libnetlink.h b/networking/libiproute/libnetlink.h index c8a8b78..c2ef984 100644 --- a/networking/libiproute/libnetlink.h +++ b/networking/libiproute/libnetlink.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef __LIBNETLINK_H__ #define __LIBNETLINK_H__ 1 diff --git a/networking/libiproute/linux/pkt_sched.h b/networking/libiproute/linux/pkt_sched.h index ec5b3fd..d6cf1fc 100644 --- a/networking/libiproute/linux/pkt_sched.h +++ b/networking/libiproute/linux/pkt_sched.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef __LINUX_PKT_SCHED_H #define __LINUX_PKT_SCHED_H diff --git a/networking/libiproute/ll_addr.c b/networking/libiproute/ll_addr.c index bb89a45..6c147de 100644 --- a/networking/libiproute/ll_addr.c +++ b/networking/libiproute/ll_addr.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ll_addr.c * diff --git a/networking/libiproute/ll_map.c b/networking/libiproute/ll_map.c index 0ac5ea9..4877512 100644 --- a/networking/libiproute/ll_map.c +++ b/networking/libiproute/ll_map.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ll_map.c * diff --git a/networking/libiproute/ll_map.h b/networking/libiproute/ll_map.h index 739f157..226d48f 100644 --- a/networking/libiproute/ll_map.h +++ b/networking/libiproute/ll_map.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef __LL_MAP_H__ #define __LL_MAP_H__ 1 diff --git a/networking/libiproute/ll_proto.c b/networking/libiproute/ll_proto.c index 2319530..f026ab7 100644 --- a/networking/libiproute/ll_proto.c +++ b/networking/libiproute/ll_proto.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ll_proto.c * diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c index a38ecc7..a53c894 100644 --- a/networking/libiproute/ll_types.c +++ b/networking/libiproute/ll_types.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * ll_types.c * diff --git a/networking/libiproute/rt_names.c b/networking/libiproute/rt_names.c index 9d47491..5181ba4 100644 --- a/networking/libiproute/rt_names.c +++ b/networking/libiproute/rt_names.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * rt_names.c rtnetlink names DB. * diff --git a/networking/libiproute/rt_names.h b/networking/libiproute/rt_names.h index deb5aa6..41afeed 100644 --- a/networking/libiproute/rt_names.h +++ b/networking/libiproute/rt_names.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef RT_NAMES_H_ #define RT_NAMES_H_ 1 diff --git a/networking/libiproute/rtm_map.c b/networking/libiproute/rtm_map.c index 5f6a9e6..8aaee4b 100644 --- a/networking/libiproute/rtm_map.c +++ b/networking/libiproute/rtm_map.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * rtm_map.c * diff --git a/networking/libiproute/rtm_map.h b/networking/libiproute/rtm_map.h index 70bda7d..1ffb940 100644 --- a/networking/libiproute/rtm_map.h +++ b/networking/libiproute/rtm_map.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef __RTM_MAP_H__ #define __RTM_MAP_H__ 1 diff --git a/networking/libiproute/utils.c b/networking/libiproute/utils.c index 16ac300..094a3b0 100644 --- a/networking/libiproute/utils.c +++ b/networking/libiproute/utils.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * utils.c * diff --git a/networking/libiproute/utils.h b/networking/libiproute/utils.h index 6763123..0b0d754 100644 --- a/networking/libiproute/utils.h +++ b/networking/libiproute/utils.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef __UTILS_H__ #define __UTILS_H__ 1 diff --git a/networking/nameif.c b/networking/nameif.c index 3d53d6f..f13ef1b 100644 --- a/networking/nameif.c +++ b/networking/nameif.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * nameif.c - Naming Interfaces based on MAC address for busybox. * diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c index b029af9..97dfcc1 100644 --- a/networking/udhcp/arpping.c +++ b/networking/udhcp/arpping.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * arpping.c * diff --git a/networking/udhcp/arpping.h b/networking/udhcp/arpping.h index 30959ca..2990e30 100644 --- a/networking/udhcp/arpping.h +++ b/networking/udhcp/arpping.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * arpping .h */ diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 14e6c66..8297570 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* clientpacket.c * * Packet generation and dispatching functions for the DHCP client. diff --git a/networking/udhcp/clientpacket.h b/networking/udhcp/clientpacket.h index 8e5441b..b9b9a66 100644 --- a/networking/udhcp/clientpacket.h +++ b/networking/udhcp/clientpacket.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef _CLIENTPACKET_H #define _CLIENTPACKET_H diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 5d08421..a1c4ead 100644 --- a/networking/udhcp/clientsocket.c +++ b/networking/udhcp/clientsocket.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * clientsocket.c -- DHCP client socket creation * diff --git a/networking/udhcp/clientsocket.h b/networking/udhcp/clientsocket.h index 17a55c1..ea60783 100644 --- a/networking/udhcp/clientsocket.h +++ b/networking/udhcp/clientsocket.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* clientsocket.h */ #ifndef _CLIENTSOCKET_H #define _CLIENTSOCKET_H diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 77e6894..eb73c21 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* common.h * * Russ Dill <Russ.Dill@asu.edu> September 2001 diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 8c795bc..989759a 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* dhcpc.c * * udhcp DHCP client diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 7c93f42..42af0a3 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* dhcpc.h */ #ifndef _DHCPC_H #define _DHCPC_H diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 29ca06a..b481e6e 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* dhcpd.c * * udhcp Server diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 37ebbe3..dc8f3c4 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* dhcpd.h */ #ifndef _DHCPD_H #define _DHCPD_H diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index d2ca236..a0a3bfc 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * files.c -- DHCP server file manipulation * * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h index 03acee2..8846931 100644 --- a/networking/udhcp/files.h +++ b/networking/udhcp/files.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* files.h */ #ifndef _FILES_H #define _FILES_H diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c index fa77ab9..0f072b9 100644 --- a/networking/udhcp/frontend.c +++ b/networking/udhcp/frontend.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #include <string.h> extern int udhcpd_main(int argc, char *argv[]); diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index bb08c3a..4c69c1f 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * leases.c -- tools to manage DHCP leases * Russ Dill <Russ.Dill@asu.edu> July 2001 diff --git a/networking/udhcp/leases.h b/networking/udhcp/leases.h index b13fa72..8dba65e 100644 --- a/networking/udhcp/leases.h +++ b/networking/udhcp/leases.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* leases.h */ #ifndef _LEASES_H #define _LEASES_H diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h index c47af2d..3cf2d14 100644 --- a/networking/udhcp/libbb_udhcp.h +++ b/networking/udhcp/libbb_udhcp.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* libbb_udhcp.h - busybox compatibility wrapper */ /* bit of a hack, do this no matter what the order of the includes. diff --git a/networking/udhcp/options.c b/networking/udhcp/options.c index 0657b32..02c2510 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * options.c -- DHCP server option packet tools * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 4948bac..b0a649f 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* options.h */ #ifndef _OPTIONS_H #define _OPTIONS_H diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index 1bdade7..67a452d 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #include <unistd.h> #include <string.h> #include <netinet/in.h> diff --git a/networking/udhcp/packet.h b/networking/udhcp/packet.h index f595422..0257a2c 100644 --- a/networking/udhcp/packet.h +++ b/networking/udhcp/packet.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef _PACKET_H #define _PACKET_H diff --git a/networking/udhcp/pidfile.c b/networking/udhcp/pidfile.c index 7a956fb..b837270 100644 --- a/networking/udhcp/pidfile.c +++ b/networking/udhcp/pidfile.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* pidfile.c * * Functions to assist in the writing and removing of pidfiles. diff --git a/networking/udhcp/pidfile.h b/networking/udhcp/pidfile.h index ea97d1d..38c8493 100644 --- a/networking/udhcp/pidfile.h +++ b/networking/udhcp/pidfile.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* pidfile.h * * Functions to assist in the writing and removing of pidfiles. diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index d1b272d..8c49334 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* script.c * * Functions to call the DHCP client notification scripts diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c index e40432e..8c7b164 100644 --- a/networking/udhcp/serverpacket.c +++ b/networking/udhcp/serverpacket.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* serverpacket.c * * Construct and send DHCP server packets diff --git a/networking/udhcp/serverpacket.h b/networking/udhcp/serverpacket.h index 9024928..20e1d5d 100644 --- a/networking/udhcp/serverpacket.h +++ b/networking/udhcp/serverpacket.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ #ifndef _SERVERPACKET_H #define _SERVERPACKET_H diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c index e973ff6..9951eb5 100644 --- a/networking/udhcp/signalpipe.c +++ b/networking/udhcp/signalpipe.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* signalpipe.c * * Signal pipe infrastructure. A reliable way of delivering signals. diff --git a/networking/udhcp/signalpipe.h b/networking/udhcp/signalpipe.h index 70c1e57..1621d57 100644 --- a/networking/udhcp/signalpipe.h +++ b/networking/udhcp/signalpipe.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* signalpipe.h * * Russ Dill <Russ.Dill@asu.edu> December 2003 diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 6417267..2d253c1 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * socket.c -- DHCP server client/server socket creation * diff --git a/networking/udhcp/socket.h b/networking/udhcp/socket.h index 66179d4..23bffa1 100644 --- a/networking/udhcp/socket.h +++ b/networking/udhcp/socket.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* socket.h */ #ifndef _SOCKET_H #define _SOCKET_H diff --git a/networking/udhcp/static_leases.c b/networking/udhcp/static_leases.c index 5247983..0d962c5 100644 --- a/networking/udhcp/static_leases.c +++ b/networking/udhcp/static_leases.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * static_leases.c -- Couple of functions to assist with storing and * retrieving data for static leases diff --git a/networking/udhcp/static_leases.h b/networking/udhcp/static_leases.h index 81708ff..b23bbcf 100644 --- a/networking/udhcp/static_leases.h +++ b/networking/udhcp/static_leases.h @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* static_leases.h */ #ifndef _STATIC_LEASES_H #define _STATIC_LEASES_H diff --git a/networking/zcip.c b/networking/zcip.c index 836cb78..5e10673 100644 --- a/networking/zcip.c +++ b/networking/zcip.c @@ -1,3 +1,4 @@ +/* vi: set sw=4 ts=4: */ /* * RFC3927 ZeroConf IPv4 Link-Local addressing * (see <http://www.zeroconf.org/>) |