Provide an inline startswith function in bfd.h
bfd/ * bfd-in.h (startswith): New inline. (CONST_STRNEQ): Use startswith. * bfd-in2.h: Regenerate. gdbsupport/ * common-utils.h (startswith): Delete version now supplied by bfd.h. libctf/ * ctf-impl.h: Include string.h.
This commit is contained in:
parent
38e41a8845
commit
e93388417c
7 changed files with 35 additions and 12 deletions
|
@ -32,6 +32,7 @@
|
|||
#include <stddef.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
#include <ctype.h>
|
||||
#include <elf.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue