Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Mar 2018 06:31:24 +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: r331090 - stable/11/usr.sbin/timed/timed
Message-ID:  <201803170631.w2H6VOwZ029829@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Mar 17 06:31:24 2018
New Revision: 331090
URL: https://svnweb.freebsd.org/changeset/base/331090

Log:
  MFC r327941:
  
  timed: slave is an infinite loop, mark it as such

Modified:
  stable/11/usr.sbin/timed/timed/extern.h
  stable/11/usr.sbin/timed/timed/slave.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/timed/timed/extern.h
==============================================================================
--- stable/11/usr.sbin/timed/timed/extern.h	Sat Mar 17 06:05:33 2018	(r331089)
+++ stable/11/usr.sbin/timed/timed/extern.h	Sat Mar 17 06:31:24 2018	(r331090)
@@ -77,7 +77,7 @@ void	 print(struct tsp *, struct sockaddr_in *);
 void	 prthp(clock_t);
 void	 rmnetmachs(struct netinfo *);
 void	 setstatus(void);
-int	 slave(void);
+void	 slave(void) __dead2;
 void	 slaveack(void);
 void	 spreadtime(void);
 void	 suppress(struct sockaddr_in *, char *, struct netinfo *);

Modified: stable/11/usr.sbin/timed/timed/slave.c
==============================================================================
--- stable/11/usr.sbin/timed/timed/slave.c	Sat Mar 17 06:05:33 2018	(r331089)
+++ stable/11/usr.sbin/timed/timed/slave.c	Sat Mar 17 06:31:24 2018	(r331090)
@@ -56,7 +56,7 @@ static void schgdate(struct tsp *, char *);
 static void setmaster(struct tsp *);
 static void answerdelay(void);
 
-int
+void
 slave(void)
 {
 	int tries;



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