Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst Cleanup prelim_menu definition.



details:   https://anonhg.NetBSD.org/src/rev/bfbf3162cc7e
branches:  trunk
changeset: 785679:bfbf3162cc7e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Mar 24 20:57:19 2013 +0000

description:
Cleanup prelim_menu definition.

diffstat:

 distrib/utils/sysinst/main.c |  12 +-----------
 1 files changed, 1 insertions(+), 11 deletions(-)

diffs (35 lines):

diff -r de4d884216e8 -r bfbf3162cc7e distrib/utils/sysinst/main.c
--- a/distrib/utils/sysinst/main.c      Sun Mar 24 20:26:29 2013 +0000
+++ b/distrib/utils/sysinst/main.c      Sun Mar 24 20:57:19 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.67 2013/03/19 22:16:53 garbled Exp $        */
+/*     $NetBSD: main.c,v 1.68 2013/03/24 20:57:19 joerg Exp $  */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -58,7 +58,6 @@
 static void ttysighandler(int);
 static void cleanup(void);
 static void process_f_flag(char *);
-static void prelim_menu(void);
 
 static int exit_cleanly = 0;   /* Did we finish nicely? */
 FILE *logfp;                   /* log file */
@@ -138,17 +137,8 @@
        pkg.xfer_type = pkgsrc.xfer_type = "http";
 }
 
-#ifdef __weak_reference
 __weakref_visible void prelim_menu(void)
     __weak_reference(md_prelim_menu);
-#endif
-#if 0
-static void
-prelim_menu(void)
-{
-       /* do nothing, weak reference stub for md_prelim_menu */
-}
-#endif
 
 int
 main(int argc, char **argv)



Home | Main Index | Thread Index | Old Index