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 Make this compile again. I should have t...



details:   https://anonhg.NetBSD.org/src/rev/e74fa5974328
branches:  trunk
changeset: 748214:e74fa5974328
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Oct 16 22:45:18 2009 +0000

description:
Make this compile again. I should have tried to compile the patches myself,
but ran out of time this morning.

diffstat:

 usr.sbin/sup/source/supcmain.c |  4 ++--
 usr.sbin/sup/source/supcmeat.c |  4 ++--
 usr.sbin/sup/source/supscan.c  |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 61b7c90da999 -r e74fa5974328 usr.sbin/sup/source/supcmain.c
--- a/usr.sbin/sup/source/supcmain.c    Fri Oct 16 21:59:40 2009 +0000
+++ b/usr.sbin/sup/source/supcmain.c    Fri Oct 16 22:45:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: supcmain.c,v 1.28 2009/10/16 12:41:37 christos Exp $   */
+/*     $NetBSD: supcmain.c,v 1.29 2009/10/16 22:45:18 christos Exp $   */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -599,7 +599,7 @@
        char buf[STRINGLENGTH], *p;
        const char *u;
        char username[STRINGLENGTH];
-       char *supfname, **arg;
+       char *supfname, *arg;
        COLLECTION *c, *lastC;
        FILE *f;
        int bogus;
diff -r 61b7c90da999 -r e74fa5974328 usr.sbin/sup/source/supcmeat.c
--- a/usr.sbin/sup/source/supcmeat.c    Fri Oct 16 21:59:40 2009 +0000
+++ b/usr.sbin/sup/source/supcmeat.c    Fri Oct 16 22:45:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: supcmeat.c,v 1.35 2009/10/16 12:41:37 christos Exp $   */
+/*     $NetBSD: supcmeat.c,v 1.36 2009/10/16 22:45:18 christos Exp $   */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -1483,7 +1483,7 @@
 }
 
 void
-goaway(char *fmt, ...)
+goaway(const char *fmt, ...)
 {
        char buf[STRINGLENGTH];
        va_list ap;
diff -r 61b7c90da999 -r e74fa5974328 usr.sbin/sup/source/supscan.c
--- a/usr.sbin/sup/source/supscan.c     Fri Oct 16 21:59:40 2009 +0000
+++ b/usr.sbin/sup/source/supscan.c     Fri Oct 16 22:45:18 2009 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: supscan.c,v 1.16 2007/12/20 20:17:52 christos Exp $    */
+/*     $NetBSD: supscan.c,v 1.17 2009/10/16 22:45:18 christos Exp $    */
 
 /*
  * Copyright (c) 1992 Carnegie Mellon University
@@ -393,7 +393,7 @@
 }
 
 void
-goaway(char *fmt, ...)
+goaway(const char *fmt, ...)
 {
        va_list ap;
 



Home | Main Index | Thread Index | Old Index