Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Aug 2018 14:19:57 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r337757 - stable/10/sbin/ifconfig
Message-ID:  <201808141419.w7EEJvEI013649@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Tue Aug 14 14:19:57 2018
New Revision: 337757
URL: https://svnweb.freebsd.org/changeset/base/337757

Log:
  MFC r337426:
  ifconfig: Fix use of _Noreturn.

Modified:
  stable/10/sbin/ifconfig/ifconfig.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sbin/ifconfig/ifconfig.c
==============================================================================
--- stable/10/sbin/ifconfig/ifconfig.c	Tue Aug 14 14:17:55 2018	(r337756)
+++ stable/10/sbin/ifconfig/ifconfig.c	Tue Aug 14 14:19:57 2018	(r337757)
@@ -103,7 +103,7 @@ static	int ifconfig(int argc, char *const *argv, int i
 static	void status(const struct afswtch *afp, const struct sockaddr_dl *sdl,
 		struct ifaddrs *ifa);
 static	void tunnel_status(int s);
-static	void usage(void) _Noreturn;
+static _Noreturn void usage(void);
 
 static struct afswtch *af_getbyname(const char *name);
 static struct afswtch *af_getbyfamily(int af);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808141419.w7EEJvEI013649>