X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gas%2Fconfig%2Ftc-ip2k.c;h=c1e50c1bdf851b9be510e8d9d2ef181b366cc3e1;hb=0c608d6b62f9164203685ab125b4b3ad113eb26e;hp=1baac58271b28b538e88f8acaa7f83eba13be117;hpb=f86f586366275bbb5ae77520eb990769f05a3030;p=deliverable%2Fbinutils-gdb.git diff --git a/gas/config/tc-ip2k.c b/gas/config/tc-ip2k.c index 1baac58271..c1e50c1bdf 100644 --- a/gas/config/tc-ip2k.c +++ b/gas/config/tc-ip2k.c @@ -26,7 +26,6 @@ #include "cgen.h" #include "elf/common.h" #include "elf/ip2k.h" -#include "libbfd.h" /* Structure to hold all of the different components describing an individual instruction. */ @@ -113,7 +112,7 @@ size_t md_longopts_size = sizeof (md_longopts); const char * md_shortopts = ""; int -md_parse_option (int c ATTRIBUTE_UNUSED, char * arg ATTRIBUTE_UNUSED) +md_parse_option (int c ATTRIBUTE_UNUSED, const char * arg ATTRIBUTE_UNUSED) { switch (c) { @@ -311,7 +310,7 @@ md_number_to_chars (char * buf, valueT val, int n) number_to_chars_bigendian (buf, val, n); } -char * +const char * md_atof (int type, char * litP, int * sizeP) { return ieee_md_atof (type, litP, sizeP, TRUE);