Source-Changes-HG archive

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

[src/trunk]: src/libexec/ld.elf_so KNF



details:   https://anonhg.NetBSD.org/src/rev/7195babdb370
branches:  trunk
changeset: 550346:7195babdb370
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Aug 05 19:41:53 2003 +0000

description:
KNF

diffstat:

 libexec/ld.elf_so/symbol.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 9ca7d5593776 -r 7195babdb370 libexec/ld.elf_so/symbol.c
--- a/libexec/ld.elf_so/symbol.c        Tue Aug 05 19:14:56 2003 +0000
+++ b/libexec/ld.elf_so/symbol.c        Tue Aug 05 19:41:53 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: symbol.c,v 1.31 2003/07/24 10:12:26 skrll Exp $         */
+/*     $NetBSD: symbol.c,v 1.32 2003/08/05 19:41:53 skrll Exp $         */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -181,7 +181,8 @@
        def = NULL;
        defobj = NULL;
        
-       if (refobj->symbolic) { /* Look first in the referencing object */
+       /* Look first in the referencing object if linked symbolically */
+       if (refobj->symbolic) {
                symp = _rtld_symlook_obj(name, hash, refobj, in_plt);
                if (symp != NULL) {
                        def = symp;



Home | Main Index | Thread Index | Old Index