Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Use proper ANSI function declarations.



details:   https://anonhg.NetBSD.org/src/rev/c51317f5577f
branches:  trunk
changeset: 368119:c51317f5577f
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Fri Jun 24 22:05:24 2022 +0000

description:
Use proper ANSI function declarations.

diffstat:

 usr.sbin/sysinst/disks.c   |  4 ++--
 usr.sbin/sysinst/upgrade.c |  4 ++--
 usr.sbin/sysinst/util.c    |  4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 32931b694441 -r c51317f5577f usr.sbin/sysinst/disks.c
--- a/usr.sbin/sysinst/disks.c  Fri Jun 24 21:22:11 2022 +0000
+++ b/usr.sbin/sysinst/disks.c  Fri Jun 24 22:05:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: disks.c,v 1.85 2022/06/20 18:06:28 martin Exp $ */
+/*     $NetBSD: disks.c,v 1.86 2022/06/24 22:05:24 tsutsui Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -130,7 +130,7 @@
  * shm_open() and friends will not perform well anyway.
  */
 static bool
-tmpfs_on_var_shm()
+tmpfs_on_var_shm(void)
 {
        uint64_t ram;
        size_t len;
diff -r 32931b694441 -r c51317f5577f usr.sbin/sysinst/upgrade.c
--- a/usr.sbin/sysinst/upgrade.c        Fri Jun 24 21:22:11 2022 +0000
+++ b/usr.sbin/sysinst/upgrade.c        Fri Jun 24 22:05:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: upgrade.c,v 1.20 2022/04/21 17:30:15 martin Exp $      */
+/*     $NetBSD: upgrade.c,v 1.21 2022/06/24 22:05:24 tsutsui Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -197,7 +197,7 @@
  * Unpacks sets,  clobbering existing contents.
  */
 void
-do_reinstall_sets()
+do_reinstall_sets(void)
 {
        struct install_partition_desc install = {};
        int retcode = 0;
diff -r 32931b694441 -r c51317f5577f usr.sbin/sysinst/util.c
--- a/usr.sbin/sysinst/util.c   Fri Jun 24 21:22:11 2022 +0000
+++ b/usr.sbin/sysinst/util.c   Fri Jun 24 22:05:24 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.c,v 1.67 2022/05/18 16:39:03 martin Exp $ */
+/*     $NetBSD: util.c,v 1.68 2022/06/24 22:05:24 tsutsui Exp $        */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -2375,7 +2375,7 @@
 
 /* initialize have_* variables */
 void
-check_available_binaries()
+check_available_binaries(void)
 {
        static int did_test = false;
 



Home | Main Index | Thread Index | Old Index