diff options
author | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-02 19:47:05 +0000 |
---|---|---|
committer | "Robert P. J. Day" <rpjday@mindspring.com> | 2006-07-02 19:47:05 +0000 |
commit | 63fc1a9e08fabfc8ba96bad80731673ef40bf5cb (patch) | |
tree | 281a0ba5d442380d600e78ee09a775a2181dc55f /networking/udhcp | |
parent | 087b9d640ed66f37249c09885fa86b27a78554c7 (diff) | |
download | busybox-w32-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.tar.gz busybox-w32-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.tar.bz2 busybox-w32-63fc1a9e08fabfc8ba96bad80731673ef40bf5cb.zip |
Standardize on the vi editing directives being on the first line.
Diffstat (limited to 'networking/udhcp')
32 files changed, 32 insertions, 0 deletions
diff --git a/networking/udhcp/arpping.c b/networking/udhcp/arpping.c index b029af9bf..97dfcc185 100644 --- a/networking/udhcp/arpping.c +++ b/networking/udhcp/arpping.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * arpping.c | 3 | * arpping.c |
3 | * | 4 | * |
diff --git a/networking/udhcp/arpping.h b/networking/udhcp/arpping.h index 30959ca99..2990e30f6 100644 --- a/networking/udhcp/arpping.h +++ b/networking/udhcp/arpping.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * arpping .h | 3 | * arpping .h |
3 | */ | 4 | */ |
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 14e6c6678..82975700c 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* clientpacket.c | 2 | /* clientpacket.c |
2 | * | 3 | * |
3 | * Packet generation and dispatching functions for the DHCP client. | 4 | * Packet generation and dispatching functions for the DHCP client. |
diff --git a/networking/udhcp/clientpacket.h b/networking/udhcp/clientpacket.h index 8e5441bc7..b9b9a668f 100644 --- a/networking/udhcp/clientpacket.h +++ b/networking/udhcp/clientpacket.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | #ifndef _CLIENTPACKET_H | 2 | #ifndef _CLIENTPACKET_H |
2 | #define _CLIENTPACKET_H | 3 | #define _CLIENTPACKET_H |
3 | 4 | ||
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 5d08421b3..a1c4eadab 100644 --- a/networking/udhcp/clientsocket.c +++ b/networking/udhcp/clientsocket.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * clientsocket.c -- DHCP client socket creation | 3 | * clientsocket.c -- DHCP client socket creation |
3 | * | 4 | * |
diff --git a/networking/udhcp/clientsocket.h b/networking/udhcp/clientsocket.h index 17a55c154..ea6078397 100644 --- a/networking/udhcp/clientsocket.h +++ b/networking/udhcp/clientsocket.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* clientsocket.h */ | 2 | /* clientsocket.h */ |
2 | #ifndef _CLIENTSOCKET_H | 3 | #ifndef _CLIENTSOCKET_H |
3 | #define _CLIENTSOCKET_H | 4 | #define _CLIENTSOCKET_H |
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 77e689446..eb73c2162 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* common.h | 2 | /* common.h |
2 | * | 3 | * |
3 | * Russ Dill <Russ.Dill@asu.edu> September 2001 | 4 | * Russ Dill <Russ.Dill@asu.edu> September 2001 |
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 8c795bc62..989759ab8 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* dhcpc.c | 2 | /* dhcpc.c |
2 | * | 3 | * |
3 | * udhcp DHCP client | 4 | * udhcp DHCP client |
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h index 7c93f4232..42af0a367 100644 --- a/networking/udhcp/dhcpc.h +++ b/networking/udhcp/dhcpc.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* dhcpc.h */ | 2 | /* dhcpc.h */ |
2 | #ifndef _DHCPC_H | 3 | #ifndef _DHCPC_H |
3 | #define _DHCPC_H | 4 | #define _DHCPC_H |
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c index 29ca06a68..b481e6ef2 100644 --- a/networking/udhcp/dhcpd.c +++ b/networking/udhcp/dhcpd.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* dhcpd.c | 2 | /* dhcpd.c |
2 | * | 3 | * |
3 | * udhcp Server | 4 | * udhcp Server |
diff --git a/networking/udhcp/dhcpd.h b/networking/udhcp/dhcpd.h index 37ebbe326..dc8f3c427 100644 --- a/networking/udhcp/dhcpd.h +++ b/networking/udhcp/dhcpd.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* dhcpd.h */ | 2 | /* dhcpd.h */ |
2 | #ifndef _DHCPD_H | 3 | #ifndef _DHCPD_H |
3 | #define _DHCPD_H | 4 | #define _DHCPD_H |
diff --git a/networking/udhcp/files.c b/networking/udhcp/files.c index d2ca2363f..a0a3bfcd8 100644 --- a/networking/udhcp/files.c +++ b/networking/udhcp/files.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * files.c -- DHCP server file manipulation * | 3 | * files.c -- DHCP server file manipulation * |
3 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 | 4 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 |
diff --git a/networking/udhcp/files.h b/networking/udhcp/files.h index 03acee2fc..884693117 100644 --- a/networking/udhcp/files.h +++ b/networking/udhcp/files.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* files.h */ | 2 | /* files.h */ |
2 | #ifndef _FILES_H | 3 | #ifndef _FILES_H |
3 | #define _FILES_H | 4 | #define _FILES_H |
diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c index fa77ab977..0f072b9f5 100644 --- a/networking/udhcp/frontend.c +++ b/networking/udhcp/frontend.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | #include <string.h> | 2 | #include <string.h> |
2 | 3 | ||
3 | extern int udhcpd_main(int argc, char *argv[]); | 4 | extern int udhcpd_main(int argc, char *argv[]); |
diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index bb08c3adb..4c69c1f93 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * leases.c -- tools to manage DHCP leases | 3 | * leases.c -- tools to manage DHCP leases |
3 | * Russ Dill <Russ.Dill@asu.edu> July 2001 | 4 | * Russ Dill <Russ.Dill@asu.edu> July 2001 |
diff --git a/networking/udhcp/leases.h b/networking/udhcp/leases.h index b13fa72d3..8dba65e29 100644 --- a/networking/udhcp/leases.h +++ b/networking/udhcp/leases.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* leases.h */ | 2 | /* leases.h */ |
2 | #ifndef _LEASES_H | 3 | #ifndef _LEASES_H |
3 | #define _LEASES_H | 4 | #define _LEASES_H |
diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h index c47af2d0a..3cf2d1401 100644 --- a/networking/udhcp/libbb_udhcp.h +++ b/networking/udhcp/libbb_udhcp.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* libbb_udhcp.h - busybox compatibility wrapper */ | 2 | /* libbb_udhcp.h - busybox compatibility wrapper */ |
2 | 3 | ||
3 | /* bit of a hack, do this no matter what the order of the includes. | 4 | /* 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 0657b3239..02c251083 100644 --- a/networking/udhcp/options.c +++ b/networking/udhcp/options.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * options.c -- DHCP server option packet tools | 3 | * options.c -- DHCP server option packet tools |
3 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 | 4 | * Rewrite by Russ Dill <Russ.Dill@asu.edu> July 2001 |
diff --git a/networking/udhcp/options.h b/networking/udhcp/options.h index 4948bac00..b0a649fef 100644 --- a/networking/udhcp/options.h +++ b/networking/udhcp/options.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* options.h */ | 2 | /* options.h */ |
2 | #ifndef _OPTIONS_H | 3 | #ifndef _OPTIONS_H |
3 | #define _OPTIONS_H | 4 | #define _OPTIONS_H |
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index 1bdade7e5..67a452dbc 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | #include <unistd.h> | 2 | #include <unistd.h> |
2 | #include <string.h> | 3 | #include <string.h> |
3 | #include <netinet/in.h> | 4 | #include <netinet/in.h> |
diff --git a/networking/udhcp/packet.h b/networking/udhcp/packet.h index f595422e4..0257a2ca9 100644 --- a/networking/udhcp/packet.h +++ b/networking/udhcp/packet.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | #ifndef _PACKET_H | 2 | #ifndef _PACKET_H |
2 | #define _PACKET_H | 3 | #define _PACKET_H |
3 | 4 | ||
diff --git a/networking/udhcp/pidfile.c b/networking/udhcp/pidfile.c index 7a956fb47..b837270fb 100644 --- a/networking/udhcp/pidfile.c +++ b/networking/udhcp/pidfile.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* pidfile.c | 2 | /* pidfile.c |
2 | * | 3 | * |
3 | * Functions to assist in the writing and removing of pidfiles. | 4 | * Functions to assist in the writing and removing of pidfiles. |
diff --git a/networking/udhcp/pidfile.h b/networking/udhcp/pidfile.h index ea97d1de5..38c849305 100644 --- a/networking/udhcp/pidfile.h +++ b/networking/udhcp/pidfile.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* pidfile.h | 2 | /* pidfile.h |
2 | * | 3 | * |
3 | * Functions to assist in the writing and removing of pidfiles. | 4 | * Functions to assist in the writing and removing of pidfiles. |
diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index d1b272de6..8c4933455 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* script.c | 2 | /* script.c |
2 | * | 3 | * |
3 | * Functions to call the DHCP client notification scripts | 4 | * Functions to call the DHCP client notification scripts |
diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c index e40432ebe..8c7b1642a 100644 --- a/networking/udhcp/serverpacket.c +++ b/networking/udhcp/serverpacket.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* serverpacket.c | 2 | /* serverpacket.c |
2 | * | 3 | * |
3 | * Construct and send DHCP server packets | 4 | * Construct and send DHCP server packets |
diff --git a/networking/udhcp/serverpacket.h b/networking/udhcp/serverpacket.h index 902492895..20e1d5d2b 100644 --- a/networking/udhcp/serverpacket.h +++ b/networking/udhcp/serverpacket.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | #ifndef _SERVERPACKET_H | 2 | #ifndef _SERVERPACKET_H |
2 | #define _SERVERPACKET_H | 3 | #define _SERVERPACKET_H |
3 | 4 | ||
diff --git a/networking/udhcp/signalpipe.c b/networking/udhcp/signalpipe.c index e973ff6b2..9951eb57d 100644 --- a/networking/udhcp/signalpipe.c +++ b/networking/udhcp/signalpipe.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* signalpipe.c | 2 | /* signalpipe.c |
2 | * | 3 | * |
3 | * Signal pipe infrastructure. A reliable way of delivering signals. | 4 | * Signal pipe infrastructure. A reliable way of delivering signals. |
diff --git a/networking/udhcp/signalpipe.h b/networking/udhcp/signalpipe.h index 70c1e5715..1621d5772 100644 --- a/networking/udhcp/signalpipe.h +++ b/networking/udhcp/signalpipe.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* signalpipe.h | 2 | /* signalpipe.h |
2 | * | 3 | * |
3 | * Russ Dill <Russ.Dill@asu.edu> December 2003 | 4 | * Russ Dill <Russ.Dill@asu.edu> December 2003 |
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 6417267ec..2d253c1f2 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * socket.c -- DHCP server client/server socket creation | 3 | * socket.c -- DHCP server client/server socket creation |
3 | * | 4 | * |
diff --git a/networking/udhcp/socket.h b/networking/udhcp/socket.h index 66179d4f5..23bffa16d 100644 --- a/networking/udhcp/socket.h +++ b/networking/udhcp/socket.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* socket.h */ | 2 | /* socket.h */ |
2 | #ifndef _SOCKET_H | 3 | #ifndef _SOCKET_H |
3 | #define _SOCKET_H | 4 | #define _SOCKET_H |
diff --git a/networking/udhcp/static_leases.c b/networking/udhcp/static_leases.c index 524798316..0d962c56e 100644 --- a/networking/udhcp/static_leases.c +++ b/networking/udhcp/static_leases.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* | 2 | /* |
2 | * static_leases.c -- Couple of functions to assist with storing and | 3 | * static_leases.c -- Couple of functions to assist with storing and |
3 | * retrieving data for static leases | 4 | * retrieving data for static leases |
diff --git a/networking/udhcp/static_leases.h b/networking/udhcp/static_leases.h index 81708ffea..b23bbcfff 100644 --- a/networking/udhcp/static_leases.h +++ b/networking/udhcp/static_leases.h | |||
@@ -1,3 +1,4 @@ | |||
1 | /* vi: set sw=4 ts=4: */ | ||
1 | /* static_leases.h */ | 2 | /* static_leases.h */ |
2 | #ifndef _STATIC_LEASES_H | 3 | #ifndef _STATIC_LEASES_H |
3 | #define _STATIC_LEASES_H | 4 | #define _STATIC_LEASES_H |