Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 05:04:38 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r331086 - stable/11/sbin/devd
Message-ID:  <201803170504.w2H54cOJ084123@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Mar 17 05:04:38 2018
New Revision: 331086
URL: https://svnweb.freebsd.org/changeset/base/331086

Log:
  MFC r328430,r328431:
  
  devd: minor nits
  
  - mark usage as noreturn

Modified:
  stable/11/sbin/devd/devd.cc
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sbin/devd/devd.cc
==============================================================================
--- stable/11/sbin/devd/devd.cc	Sat Mar 17 05:00:07 2018	(r331085)
+++ stable/11/sbin/devd/devd.cc	Sat Mar 17 05:04:38 2018	(r331086)
@@ -161,7 +161,7 @@ static const char *configfile = CF;
 static void devdlog(int priority, const char* message, ...)
 	__printflike(2, 3);
 static void event_loop(void);
-static void usage(void);
+static void usage(void) __dead2;
 
 template <class T> void
 delete_and_clear(vector<T *> &v)



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