svn commit: r337757 - stable/10/sbin/ifconfig

Mark Johnston markj at FreeBSD.org
Tue Aug 14 14:19:58 UTC 2018


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);


More information about the svn-src-all mailing list