darling-gdb/gdb/inf-loop.h
Yao Qi 051d2ddae5 Include target.h in inf-loop.h
$ make check-headers CHECK_HEADERS="target.h inf-loop.h"
...
../../binutils-gdb/gdb/inf-loop.h:23:42: error: use of enum 'inferior_event_type' without previous declaration
 extern void inferior_event_handler (enum inferior_event_type event_type,
                                          ^
gdb:

2017-01-06  Yao Qi  <yao.qi@linaro.org>

	* inf-loop.c: Don't include "target.h".
	* inf-loop.h: Include it here.
2017-01-06 14:26:45 +00:00

29 lines
1.1 KiB
C

/* Interface to the inferior event handling code for GDB, the GNU debugger.
Copyright (C) 1999-2017 Free Software Foundation, Inc.
Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
This file is part of GDB.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifndef INF_LOOP_H
#define INF_LOOP_H
#include "target.h" /* For enum inferior_event_type. */
extern void inferior_event_handler (enum inferior_event_type event_type,
void* client_data);
#endif /* #ifndef INF_LOOP_H */