Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/bootblock/elf2bb static-ify function bo...



details:   https://anonhg.NetBSD.org/src/rev/19dd838fc079
branches:  trunk
changeset: 365800:19dd838fc079
user:      rin <rin%NetBSD.org@localhost>
date:      Mon Apr 25 14:46:38 2022 +0000

description:
static-ify function bodies of usage() and eval().

No binary changes.

diffstat:

 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r e8c90a386c05 -r 19dd838fc079 sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c
--- a/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Mon Apr 25 14:45:26 2022 +0000
+++ b/sys/arch/amiga/stand/bootblock/elf2bb/elf2bb.c    Mon Apr 25 14:46:38 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elf2bb.c,v 1.26 2022/04/25 14:39:30 rin Exp $  */
+/*     $NetBSD: elf2bb.c,v 1.27 2022/04/25 14:46:38 rin Exp $  */
 
 /*-
  * Copyright (c) 1996,2006 The NetBSD Foundation, Inc.
@@ -466,7 +466,7 @@
        exit(0);
 }
 
-void
+static void
 usage(void)
 {
        fprintf(stderr, "Usage: %s [-F] bootprog bootprog.bin\n",
@@ -475,7 +475,7 @@
        /* NOTREACHED */
 }
 
-int
+static int
 eval(Elf32_Sym *s, uint32_t *o)
 {
        int value;



Home | Main Index | Thread Index | Old Index