Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/sysinst Use C89 function definitions.



details:   https://anonhg.NetBSD.org/src/rev/8f9890916450
branches:  trunk
changeset: 778279:8f9890916450
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Mar 21 05:43:55 2012 +0000

description:
Use C89 function definitions.

diffstat:

 distrib/utils/sysinst/arch/evbmips/md.c |  4 ++--
 distrib/utils/sysinst/util.c            |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 065504013cd5 -r 8f9890916450 distrib/utils/sysinst/arch/evbmips/md.c
--- a/distrib/utils/sysinst/arch/evbmips/md.c   Wed Mar 21 05:43:09 2012 +0000
+++ b/distrib/utils/sysinst/arch/evbmips/md.c   Wed Mar 21 05:43:55 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.9 2011/11/04 11:27:02 martin Exp $ */
+/* $NetBSD: md.c,v 1.10 2012/03/21 05:43:55 matt Exp $ */
 
 /*
  * Copyright 1997,2002 Piermont Information Systems Inc.
@@ -160,7 +160,7 @@
 }
 
 int
-md_pre_mount()
+md_pre_mount(void)
 {
        return 0;
 }
diff -r 065504013cd5 -r 8f9890916450 distrib/utils/sysinst/util.c
--- a/distrib/utils/sysinst/util.c      Wed Mar 21 05:43:09 2012 +0000
+++ b/distrib/utils/sysinst/util.c      Wed Mar 21 05:43:55 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.173 2012/01/10 21:02:47 gson Exp $  */
+/*     $NetBSD: util.c,v 1.174 2012/03/21 05:43:55 matt Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -409,7 +409,7 @@
  * the number of entries collected.
  */
 static int
-get_available_cds()
+get_available_cds(void)
 {
        char dname[16], volname[80];
        struct cd_info *info = cds;



Home | Main Index | Thread Index | Old Index