summaryrefslogtreecommitdiffstats
path: root/usr.sbin/amd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-10-26 02:48:37 +0000
committerguenther <guenther@openbsd.org>2014-10-26 02:48:37 +0000
commit6741506cdfdb6c119dd6f78fa29a5077090646ee (patch)
treead0c1e644790dbf5088e25c935b4f7b33afa0a35 /usr.sbin/amd
parentLint is dead (diff)
downloadwireguard-openbsd-6741506cdfdb6c119dd6f78fa29a5077090646ee.tar.xz
wireguard-openbsd-6741506cdfdb6c119dd6f78fa29a5077090646ee.zip
Declare a few functions static
Diffstat (limited to 'usr.sbin/amd')
-rw-r--r--usr.sbin/amd/amd/map.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/amd/amd/map.c b/usr.sbin/amd/amd/map.c
index 5df7c06a2db..7a31e440f0e 100644
--- a/usr.sbin/amd/amd/map.c
+++ b/usr.sbin/amd/amd/map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: map.c,v 1.12 2014/10/26 01:38:02 guenther Exp $ */
+/* $OpenBSD: map.c,v 1.13 2014/10/26 02:48:37 guenther Exp $ */
/*-
* Copyright (c) 1990 Jan-Simon Pendry
@@ -172,7 +172,7 @@ am_node *exported_ap_alloc(void)
/*
* Free a mount slot
*/
-void
+static void
exported_ap_free(am_node *mp)
{
/*
@@ -236,7 +236,7 @@ insert_am(am_node *mp, am_node *p_mp)
/*
* Remove am from its place in the mount tree
*/
-void
+static void
remove_am(am_node *mp)
{
/*
@@ -982,7 +982,8 @@ unmount_mp(am_node *mp)
return was_backgrounded;
}
-void timeout_mp()
+static void
+timeout_mp(void *arg)
{
#define NEVER (time_t) 0
#define smallest_t(t1, t2) \