diff options
author | Alan Modra <amodra@gmail.com> | 2021-03-19 17:39:24 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2021-03-21 23:00:32 +1030 |
commit | e93388417c1ecc6d69b155045cabb994cb8687fd (patch) | |
tree | 24fa2ed727efd5a1775e4c8b76b8d92a5ae0ea10 /bfd/ChangeLog | |
parent | 38e41a88457d2fcab42596c5d0183e410868c813 (diff) | |
download | gdb-e93388417c1ecc6d69b155045cabb994cb8687fd.zip gdb-e93388417c1ecc6d69b155045cabb994cb8687fd.tar.gz gdb-e93388417c1ecc6d69b155045cabb994cb8687fd.tar.bz2 |
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.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 90ec96b..bb27342 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2021-03-21 Alan Modra <amodra@gmail.com> + + * bfd-in.h (startswith): New inline. + (CONST_STRNEQ): Use startswith. + * bfd-in2.h: Regenerate. + 2021-03-20 Alan Modra <amodra@gmail.com> PR 27590 |