summaryrefslogtreecommitdiffstats
path: root/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-11-10 11:15:27 +0000
committerRoy Marples <roy@marples.name>2008-11-10 11:15:27 +0000
commit3ad4d331afc3c7959cf9ca0c694adb190337a634 (patch)
treede5d9d27c39f8024c5d8a9b0e340c8976420cca2 /dhcpcd.c
parenteee1b3eed91b9122ad132ea501430693641cd066 (diff)
downloaddhcpcd-3ad4d331afc3c7959cf9ca0c694adb190337a634.tar.xz
Fix some LINT errors.
Diffstat (limited to 'dhcpcd.c')
-rw-r--r--dhcpcd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dhcpcd.c b/dhcpcd.c
index e2d2b4cd..3cc27f0a 100644
--- a/dhcpcd.c
+++ b/dhcpcd.c
@@ -84,7 +84,7 @@ struct dhcp_op {
const char *name;
};
-static const struct dhcp_op const dhcp_ops[] = {
+static const struct dhcp_op dhcp_ops[] = {
{ DHCP_DISCOVER, "DHCP_DISCOVER" },
{ DHCP_OFFER, "DHCP_OFFER" },
{ DHCP_REQUEST, "DHCP_REQUEST" },
@@ -171,6 +171,7 @@ cleanup(void)
#endif
}
+/* ARGSUSED */
_noreturn void
handle_exit_timeout(_unused void *arg)
{
@@ -964,6 +965,7 @@ handle_remove_interface(const char *ifname)
stop_interface(iface, "STOP");
}
+/* ARGSUSED */
static void
handle_link(_unused void *arg)
{
@@ -974,6 +976,7 @@ handle_link(_unused void *arg)
syslog(LOG_ERR, "manage_link: %m");
}
+/* ARGSUSED */
static void
handle_signal(_unused void *arg)
{