From 014d6fb261de3416b2fb3c5bec90b7904e8dd260 Mon Sep 17 00:00:00 2001 From: Florian Obser Date: Wed, 6 Oct 2021 06:14:09 +0000 Subject: Remove autoconfprivacy deprecation warning. OK deraadt --- sbin/ifconfig/ifconfig.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'sbin') diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 7d86e887561..c603c3837fc 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.444 2021/07/12 15:09:18 beck Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.445 2021/10/06 06:14:08 florian Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -246,7 +246,6 @@ void setgroupattribs(char *, int, char *[]); int printgroup(char *, int); void setautoconf(const char *, int); void settemporary(const char *, int); -void setprivacy(const char *, int); void settrunkport(const char *, int); void unsettrunkport(const char *, int); void settrunkproto(const char *, int); @@ -466,8 +465,6 @@ const struct cmd { { "pltime", NEXTARG, 0, setia6pltime }, { "vltime", NEXTARG, 0, setia6vltime }, { "eui64", 0, 0, setia6eui64 }, - { "autoconfprivacy", 1, 0, setprivacy }, - { "-autoconfprivacy", -1, 0, setprivacy }, { "temporary", 1, 0, settemporary }, { "-temporary", -1, 0, settemporary }, { "soii", -IFXF_INET6_NOSOII, 0, setifxflags }, @@ -1602,14 +1599,6 @@ settemporary(const char *cmd, int val) } } -/* XXX remove after 7.0 */ -void -setprivacy(const char *cmd, int val) -{ - warnx("The 'autoconfprivacy' option is deprecated, use 'temporary'"); - settemporary(cmd, val); -} - #ifndef SMALL /* ARGSUSED */ void -- cgit v1.2.3