mirror of
https://github.com/opnsense/src.git
synced 2026-05-04 17:05:14 -04:00
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 |
||
|---|---|---|
| .. | ||
| aout | ||
| coff | ||
| elf | ||
| 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 | ||
| MAINTAINERS | ||
| md5.h | ||
| objalloc.h | ||
| obstack.h | ||
| partition.h | ||
| progress.h | ||
| safe-ctype.h | ||
| sort.h | ||
| splay-tree.h | ||
| symcat.h | ||
| ternary.h | ||
| xregex.h | ||
| xregex2.h | ||