Source-Changes-HG archive

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

[src/trunk]: src/sys/lib/libsa mark first as used for platforms that define P...



details:   https://anonhg.NetBSD.org/src/rev/d437099b334e
branches:  trunk
changeset: 826897:d437099b334e
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 04 22:00:40 2017 +0000

description:
mark first as used for platforms that define PROGRESS to nothing (mvme68k)

diffstat:

 sys/lib/libsa/loadfile_elf32.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 25eedbf01ef2 -r d437099b334e sys/lib/libsa/loadfile_elf32.c
--- a/sys/lib/libsa/loadfile_elf32.c    Wed Oct 04 21:42:20 2017 +0000
+++ b/sys/lib/libsa/loadfile_elf32.c    Wed Oct 04 22:00:40 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: loadfile_elf32.c,v 1.41 2017/09/25 20:39:21 maxv Exp $ */
+/* $NetBSD: loadfile_elf32.c,v 1.42 2017/10/04 22:00:40 christos Exp $ */
 
 /*
  * Copyright (c) 1997, 2008, 2017 The NetBSD Foundation, Inc.
@@ -489,7 +489,7 @@
 ELFNAMEEND(loadfile)(int fd, Elf_Ehdr *elf, u_long *marks, int flags)
 {
        Elf_Phdr *phdr;
-       int i, first;
+       int i, first __used;
        ssize_t sz;
        Elf_Addr minp = ~0, maxp = 0, pos = 0, elfp = 0;
        u_long offset = marks[MARK_START];



Home | Main Index | Thread Index | Old Index