freebsd-skq/contrib/binutils/include
ed fa9d379051 Replace local prototype of basename() with an inclusion of <libgen.h>.
libiberty currently defines the prototype for basename() itself instead
of using <libgen.h>. It still uses the BSD-style prototype instead of
the POSIX one, meaning that if FreeBSD would switch over to the POSIX
one, you wouldn't be able to use libiberty.h and libgen.h in a single
source file. It turns out that kgdb does this. Patch up libiberty to
just include <libgen.h>.

I'm currently talking to upstream to see whether we can come up with a
more complete solution that could be integrated, but for our
unmaintained copy of GDB in base, let's just apply the simplest
workaround possible.

Reviewed by:	pfg
Differential Revision:	https://reviews.freebsd.org/D6631
2016-05-29 16:10:01 +00:00
..
aout
coff
elf More ARM EABI object attributes in binutils. This adds support to binutils 2015-04-03 19:33:26 +00:00
opcode
alloca-conf.h
ansidecl.h
bfdlink.h
ChangeLog
demangle.h
dis-asm.h
dyn-string.h
fibheap.h
filenames.h
floatformat.h
fnmatch.h
fopen-bin.h
fopen-same.h
gdbm.h
hashtab.h
ieee.h
libiberty.h Replace local prototype of basename() with an inclusion of <libgen.h>. 2016-05-29 16:10:01 +00:00
MAINTAINERS
md5.h
objalloc.h
obstack.h
partition.h
progress.h
safe-ctype.h
sort.h
splay-tree.h
symcat.h
ternary.h
xregex2.h
xregex.h