From 1648f26734cfae1a4acf331e0e8f48014bf0a074 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 6 Oct 2021 06:14:08 +0000 Subject: [PATCH] Remove autoconfprivacy deprecation warning. OK deraadt --- sbin/ifconfig/ifconfig.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) 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 -- 2.20.1