Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2015 18:11:00 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r287217 - head/usr.sbin/syslogd
Message-ID:  <201508271811.t7RIB0xl077002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Thu Aug 27 18:11:00 2015
New Revision: 287217
URL: https://svnweb.freebsd.org/changeset/base/287217

Log:
  die() would never return, mark it as so.
  
  MFC after:	2 weeks

Modified:
  head/usr.sbin/syslogd/syslogd.c

Modified: head/usr.sbin/syslogd/syslogd.c
==============================================================================
--- head/usr.sbin/syslogd/syslogd.c	Thu Aug 27 17:16:18 2015	(r287216)
+++ head/usr.sbin/syslogd/syslogd.c	Thu Aug 27 18:11:00 2015	(r287217)
@@ -324,7 +324,7 @@ static const char *cvthname(struct socka
 static void	deadq_enter(pid_t, const char *);
 static int	deadq_remove(pid_t);
 static int	decode(const char *, const CODE *);
-static void	die(int);
+static void	die(int) __dead2;
 static void	dodie(int);
 static void	dofsync(void);
 static void	domark(int);



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