Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst Consistent #if for static helper function a...



details:   https://anonhg.NetBSD.org/src/rev/9234fe33a0b6
branches:  trunk
changeset: 988682:9234fe33a0b6
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Oct 09 09:06:28 2021 +0000

description:
Consistent #if for static helper function add_entropy

diffstat:

 usr.sbin/sysinst/configmenu.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9ad7223e533d -r 9234fe33a0b6 usr.sbin/sysinst/configmenu.c
--- a/usr.sbin/sysinst/configmenu.c     Sat Oct 09 08:25:33 2021 +0000
+++ b/usr.sbin/sysinst/configmenu.c     Sat Oct 09 09:06:28 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: configmenu.c,v 1.13 2021/10/08 15:59:55 martin Exp $ */
+/* $NetBSD: configmenu.c,v 1.14 2021/10/09 09:06:28 martin Exp $ */
 
 /*-
  * Copyright (c) 2012 The NetBSD Foundation, Inc.
@@ -45,7 +45,9 @@
 static int set_root_shell(struct menudesc *, void *);
 static int change_root_password(struct menudesc *, void *);
 static int add_new_user(struct menudesc *, void *);
+#if CHECK_ENTROPY
 static int add_entropy(struct menudesc *, void *);
+#endif
 static int set_binpkg(struct menudesc *, void *);
 static int set_pkgsrc(struct menudesc *, void *);
 static void config_list_init(void);



Home | Main Index | Thread Index | Old Index