freebsd-dev/contrib/binutils/include
Ed Schouten a25e1dd4df 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 Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
coff Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
elf More ARM EABI object attributes in binutils. This adds support to binutils 2015-04-03 19:33:26 +00:00
opcode Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
alloca-conf.h Rename vendor/binutils/*/contrib to vendor/binutils/*/x 2009-01-19 17:25:17 +00:00
ansidecl.h Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
bfdlink.h Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ChangeLog Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
demangle.h Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
dis-asm.h Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
dyn-string.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
fibheap.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
filenames.h Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
floatformat.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
fnmatch.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
fopen-bin.h Rename vendor/binutils/*/contrib to vendor/binutils/*/x 2009-01-19 17:25:17 +00:00
fopen-same.h Rename vendor/binutils/*/contrib to vendor/binutils/*/x 2009-01-19 17:25:17 +00:00
gdbm.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
hashtab.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
ieee.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
libiberty.h Replace local prototype of basename() with an inclusion of <libgen.h>. 2016-05-29 16:10:01 +00:00
MAINTAINERS Rename vendor/binutils/*/contrib to vendor/binutils/*/x 2009-01-19 17:25:17 +00:00
md5.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
objalloc.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
obstack.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
partition.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
progress.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
safe-ctype.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
sort.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
splay-tree.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
symcat.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
ternary.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
xregex2.h Merge ^vendor/binutils/dist@214082 into contrib/binutils. 2010-10-21 19:11:14 +00:00
xregex.h Rename vendor/binutils/*/contrib to vendor/binutils/*/x 2009-01-19 17:25:17 +00:00