Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sup/source fix compilation issues.
details: https://anonhg.NetBSD.org/src/rev/149223b5a60c
branches: trunk
changeset: 785333:149223b5a60c
user: christos <christos%NetBSD.org@localhost>
date: Fri Mar 08 20:58:35 2013 +0000
description:
fix compilation issues.
diffstat:
usr.sbin/sup/source/log.c | 4 ++--
usr.sbin/sup/source/supfilesrv.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r e739abd8d4d0 -r 149223b5a60c usr.sbin/sup/source/log.c
--- a/usr.sbin/sup/source/log.c Fri Mar 08 20:56:44 2013 +0000
+++ b/usr.sbin/sup/source/log.c Fri Mar 08 20:58:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: log.c,v 1.11 2013/03/08 20:56:44 christos Exp $ */
+/* $NetBSD: log.c,v 1.12 2013/03/08 20:58:35 christos Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -72,7 +72,7 @@
snprintf(ybuf, sizeof(ybuf), "SUP@%s%s ", hostname, f ? ":" : "");
vsnprintf(xbuf, sizeof(xbuf), fmt, ap);
snprintf(buf, bufsiz, "%s%s", ybuf, xbuf);
- return buf;
+ return;
}
diff -r e739abd8d4d0 -r 149223b5a60c usr.sbin/sup/source/supfilesrv.c
--- a/usr.sbin/sup/source/supfilesrv.c Fri Mar 08 20:56:44 2013 +0000
+++ b/usr.sbin/sup/source/supfilesrv.c Fri Mar 08 20:58:35 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: supfilesrv.c,v 1.48 2013/03/08 20:56:44 christos Exp $ */
+/* $NetBSD: supfilesrv.c,v 1.49 2013/03/08 20:58:35 christos Exp $ */
/*
* Copyright (c) 1992 Carnegie Mellon University
@@ -375,7 +375,7 @@
pid_t pid;
} *hp;
-static int
+static void
addchild(pid_t pid)
{
size_t i;
Home |
Main Index |
Thread Index |
Old Index