Author: eadler Date: Sat Jan 13 20:35:32 2018 New Revision: 327941 URL: https://svnweb.freebsd.org/changeset/base/327941
Log: timed: slave is an infinite loop, mark it as such Modified: head/usr.sbin/timed/timed/extern.h head/usr.sbin/timed/timed/slave.c Modified: head/usr.sbin/timed/timed/extern.h ============================================================================== --- head/usr.sbin/timed/timed/extern.h Sat Jan 13 19:02:51 2018 (r327940) +++ head/usr.sbin/timed/timed/extern.h Sat Jan 13 20:35:32 2018 (r327941) @@ -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: head/usr.sbin/timed/timed/slave.c ============================================================================== --- head/usr.sbin/timed/timed/slave.c Sat Jan 13 19:02:51 2018 (r327940) +++ head/usr.sbin/timed/timed/slave.c Sat Jan 13 20:35:32 2018 (r327941) @@ -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; _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"