[Patch/obvious]: Make ld/pe-dll.c:udef_table static

Tristan Gingold gingold@adacore.com
Mon May 7 10:51:00 GMT 2012


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)
  {



More information about the Binutils mailing list