svn commit: r331086 - stable/11/sbin/devd

Eitan Adler eadler at FreeBSD.org
Sat Mar 17 05:04:39 UTC 2018


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)


More information about the svn-src-all mailing list