From: kn Date: Tue, 16 Mar 2021 19:24:36 +0000 (+0000) Subject: Move setifrtlabel() and *keepalive() prototypes out of SMALL X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=91d8ea995deae3f3b8cb4e828123080d3988d182;p=openbsd Move setifrtlabel() and *keepalive() prototypes out of SMALL Those commands are not supported under SMALL; unless I overlooked others, this should be the last bit to declare all prototypes correctly wrt. SMALL (the overall unsorted order of both prototypes and commands makes this hard to spot). No object change, with and without SMALL. --- diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 7c19f58a4ef..2c60e652675 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ifconfig.c,v 1.440 2021/03/13 21:23:29 kn Exp $ */ +/* $OpenBSD: ifconfig.c,v 1.441 2021/03/16 19:24:36 kn Exp $ */ /* $NetBSD: ifconfig.c,v 1.40 1997/10/01 02:19:43 enami Exp $ */ /* @@ -190,7 +190,6 @@ const char *lacptimeoutslow = "slow"; void notealias(const char *, int); void setifaddr(const char *, int); -void setifrtlabel(const char *, int); void setiflladdr(const char *, int); void setifdstaddr(const char *, int); void setifflags(const char *, int); @@ -231,8 +230,6 @@ void setia6pltime(const char *, int); void setia6vltime(const char *, int); void setia6lifetime(const char *, const char *); void setia6eui64(const char *, int); -void setkeepalive(const char *, const char *); -void unsetkeepalive(const char *, int); void setmedia(const char *, int); void setmediaopt(const char *, int); void setmediamode(const char *, int); @@ -259,8 +256,11 @@ void trunk_status(void); void list_cloners(void); #ifndef SMALL +void setifrtlabel(const char *, int); void setrdomain(const char *, int); void unsetrdomain(const char *, int); +void setkeepalive(const char *, const char *); +void unsetkeepalive(const char *, int); void carp_status(void); void setcarp_advbase(const char *,int); void setcarp_advskew(const char *, int);