Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Unified Diff: dhcpcd.c

Issue 2965010: Various dhcpcd fixups. (Closed) Base URL: ssh://git@chromiumos-git//dhcpcd.git
Patch Set: Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dhcpcd.h ('k') | dhcpcd.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dhcpcd.c
diff --git a/dhcpcd.c b/dhcpcd.c
index 112002ce96817d963dbf94b8d1dd42a440d462ae..035060810e1575c1391905669a2ac5ce711247d5 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -111,8 +111,6 @@ static const struct dhcp_op dhcp_ops[] = {
{ 0, NULL }
};
-static void send_release(struct interface *);
-
static const char *
get_dhcp_op(uint8_t type)
{
@@ -248,7 +246,7 @@ find_interface(const char *ifname)
return NULL;
}
-static void
+void
stop_interface(struct interface *iface)
{
struct interface *ifp, *ifl = NULL;
@@ -707,7 +705,7 @@ open_sockets(struct interface *iface)
add_event(iface->raw_fd, handle_dhcp_packet, iface);
}
-static void
+void
send_release(struct interface *iface)
{
struct timespec ts;
« no previous file with comments | « dhcpcd.h ('k') | dhcpcd.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698