Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/timed/timed Returns void, mark noreturn.
details: https://anonhg.NetBSD.org/src/rev/5735a8369f29
branches: trunk
changeset: 358769:5735a8369f29
user: maya <maya%NetBSD.org@localhost>
date: Tue Jan 16 07:57:58 2018 +0000
description:
Returns void, mark noreturn.
>From Eitan Adler in PR bin/52925
diffstat:
usr.sbin/timed/timed/slave.c | 6 +++---
usr.sbin/timed/timed/timed-extern.h | 4 ++--
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (45 lines):
diff -r 3caddee9a471 -r 5735a8369f29 usr.sbin/timed/timed/slave.c
--- a/usr.sbin/timed/timed/slave.c Tue Jan 16 07:56:55 2018 +0000
+++ b/usr.sbin/timed/timed/slave.c Tue Jan 16 07:57:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: slave.c,v 1.18 2007/01/26 16:12:41 christos Exp $ */
+/* $NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $ */
/*-
* Copyright (c) 1985, 1993 The Regents of the University of California.
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)slave.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: slave.c,v 1.18 2007/01/26 16:12:41 christos Exp $");
+__RCSID("$NetBSD: slave.c,v 1.19 2018/01/16 07:57:58 maya Exp $");
#endif
#endif /* not lint */
@@ -56,7 +56,7 @@
static void setmaster(struct tsp *);
static void answerdelay(void);
-int
+void
slave(void)
{
int tries;
diff -r 3caddee9a471 -r 5735a8369f29 usr.sbin/timed/timed/timed-extern.h
--- a/usr.sbin/timed/timed/timed-extern.h Tue Jan 16 07:56:55 2018 +0000
+++ b/usr.sbin/timed/timed/timed-extern.h Tue Jan 16 07:57:58 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timed-extern.h,v 1.10 2011/08/31 13:32:41 joerg Exp $ */
+/* $NetBSD: timed-extern.h,v 1.11 2018/01/16 07:57:58 maya Exp $ */
/*-
* Copyright (c) 1993 The Regents of the University of California.
@@ -74,7 +74,7 @@
void prthp(clock_t);
void rmnetmachs(struct netinfo *);
void setstatus(void);
-int slave(void);
+void slave(void) __dead;
void slaveack(void);
void spreadtime(void);
void suppress(struct sockaddr_in *, char *, struct netinfo *);
Home |
Main Index |
Thread Index |
Old Index