]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
Include string.h in bfd.h and delete LITMEMCPY, LITSTRCPY
authorAlan Modra <amodra@gmail.com>
Tue, 30 Mar 2021 23:32:08 +0000 (10:02 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 31 Mar 2021 00:17:59 +0000 (10:47 +1030)
commit57ae980e3290c0c1a9fb4a93144cc5b24457f05a
treeb639bd1f64e84addc898ae6a29c97ffbe7c757ad
parentedf71419e06105a73c59a95d3e74557a6c6f313b
Include string.h in bfd.h and delete LITMEMCPY, LITSTRCPY

This fixes the issue that startswith depends on strncpy being
declared, and not all projects using bfd.h include string.h before
bfd.h.  I've also deleted some macros that don't find much use
anywhere.

bfd/
* bfd-in.h: Include string.h.
(LITMEMCPY, LITSTRCPY): Delete.
* bfd-in2.h: Regenerate.
binutils/
* prdbg.c (pr_function_type): Replace LITSTTCPY with strcpy.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
binutils/ChangeLog
binutils/prdbg.c