forked from Imagelibrary/binutils-gdb
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:
@@ -1,3 +1,7 @@
|
||||
2021-03-21 Alan Modra <amodra@gmail.com>
|
||||
|
||||
* ctf-impl.h: Include string.h.
|
||||
|
||||
2021-03-18 Nick Alcock <nick.alcock@oracle.com>
|
||||
|
||||
* ctf-types.c (ctf_type_encoding): Support, after a fashion, for enums.
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user