summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreyk <reyk@openbsd.org>2017-01-16 11:25:14 +0000
committerreyk <reyk@openbsd.org>2017-01-16 11:25:14 +0000
commita0cfe3156fff76e744f251265d12db7561206205 (patch)
tree34a19d3a53a68c7c5bb6e037684cee7a4d43a8dc
parentspacing (diff)
downloadwireguard-openbsd-a0cfe3156fff76e744f251265d12db7561206205.tar.xz
wireguard-openbsd-a0cfe3156fff76e744f251265d12db7561206205.zip
Fix declaration: vsw_dev2sc has been renamed to switch_dev2sc.
-rw-r--r--sys/net/switchctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/switchctl.c b/sys/net/switchctl.c
index b8d308ada29..b90b1576892 100644
--- a/sys/net/switchctl.c
+++ b/sys/net/switchctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: switchctl.c,v 1.10 2016/12/22 15:06:47 mikeb Exp $ */
+/* $OpenBSD: switchctl.c,v 1.11 2017/01/16 11:25:14 reyk Exp $ */
/*
* Copyright (c) 2016 Kazuya GODA <goda@openbsd.org>
@@ -44,7 +44,7 @@ extern struct rwlock switch_ifs_lk;
#include <sys/selinfo.h>
#include <sys/vnode.h>
-struct switch_softc *vsw_dev2sc(dev_t);
+struct switch_softc *switch_dev2sc(dev_t);
int switchopen(dev_t, int, int, struct proc *);
int switchread(dev_t, struct uio *, int);
int switchwrite(dev_t, struct uio *, int);