mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-23 07:57:38 +01:00
Don't include <string.h>.
Include "libunwind_i.h" instead of "tdep.h". (Logical change 1.294)
This commit is contained in:
parent
dda1a6d625
commit
df3d6af467
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
/* libunwind - a platform-independent unwind library
|
/* libunwind - a platform-independent unwind library
|
||||||
Copyright (c) 2003 Hewlett-Packard Development Company, L.P.
|
Copyright (c) 2003, 2005 Hewlett-Packard Development Company, L.P.
|
||||||
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
||||||
|
|
||||||
This file is part of libunwind.
|
This file is part of libunwind.
|
||||||
|
@ -23,10 +23,8 @@ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
#include <string.h>
|
|
||||||
|
|
||||||
#include "dwarf_i.h"
|
#include "dwarf_i.h"
|
||||||
#include "tdep.h"
|
#include "libunwind_i.h"
|
||||||
|
|
||||||
#define alloc_reg_state() (mempool_alloc (&dwarf_reg_state_pool))
|
#define alloc_reg_state() (mempool_alloc (&dwarf_reg_state_pool))
|
||||||
#define free_reg_state(rs) (mempool_free (&dwarf_reg_state_pool, rs))
|
#define free_reg_state(rs) (mempool_free (&dwarf_reg_state_pool, rs))
|
||||||
|
|
Loading…
Reference in a new issue