This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Patch/obvious]: Make ld/pe-dll.c:udef_table static
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils Development <binutils at sourceware dot org>
- Date: Mon, 7 May 2012 12:50:47 +0200
- Subject: [Patch/obvious]: Make ld/pe-dll.c:udef_table static
Hi,
udef_table is only used in pe-dll.c, so we need to make it static to avoid clashes with the definition when pe-dll.c is included in pep-dll.c
Committed as obvious.
Tristan.
ld/
2012-05-07 Tristan Gingold <gingold@adacore.com>
* pe-dll.c (udef_table): Make it static.
RCS file: /cvs/src/src/ld/pe-dll.c,v
retrieving revision 1.142
diff -c -p -r1.142 pe-dll.c
*** pe-dll.c 14 Mar 2012 19:00:03 -0000 1.142
--- pe-dll.c 7 May 2012 10:50:34 -0000
*************** struct key_value
*** 2825,2831 ****
const char *oname;
};
! struct key_value *udef_table;
static int undef_sort_cmp (const void *l1, const void *r1)
{
--- 2825,2831 ----
const char *oname;
};
! static struct key_value *udef_table;
static int undef_sort_cmp (const void *l1, const void *r1)
{