X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=src%2Ftarget%2Farm_semihosting.h;h=cf1f8de142e7a7b9d1a149487826a0c7d2421d68;hb=refs%2Fchanges%2F70%2F5070%2F2;hp=58b343266cf6bd496c346846c17c657f95e0e615;hpb=08d4411b59dd8bd0e7d8009003b71d23acbf6eee;p=openocd.git diff --git a/src/target/arm_semihosting.h b/src/target/arm_semihosting.h index 58b343266c..cf1f8de142 100644 --- a/src/target/arm_semihosting.h +++ b/src/target/arm_semihosting.h @@ -13,14 +13,15 @@ * 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, write to the * - * Free Software Foundation, Inc., * - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * + * along with this program. If not, see . * ***************************************************************************/ -#ifndef ARM_SEMIHOSTING_H -#define ARM_SEMIHOSTING_H +#ifndef OPENOCD_TARGET_ARM_SEMIHOSTING_H +#define OPENOCD_TARGET_ARM_SEMIHOSTING_H +#include "semihosting_common.h" + +int arm_semihosting_init(struct target *target); int arm_semihosting(struct target *target, int *retval); -#endif +#endif /* OPENOCD_TARGET_ARM_SEMIHOSTING_H */