/* Parse a CPU command line option. */
static int
-metag_parse_cpu (char * str)
+metag_parse_cpu (const char * str)
{
const struct metag_core_option * opt;
int optlen;
/* Parse an FPU command line option. */
static int
-metag_parse_fpu (char * str)
+metag_parse_fpu (const char * str)
{
const struct metag_core_option * opt;
int optlen;
/* Parse a DSP command line option. */
static int
-metag_parse_dsp (char * str)
+metag_parse_dsp (const char * str)
{
const struct metag_core_option * opt;
int optlen;
{
const char * option; /* Substring to match. */
const char * help; /* Help information. */
- int (* func) (char * subopt); /* Function to decode sub-option. */
+ int (* func) (const char * subopt); /* Function to decode sub-option. */
const char * deprecated; /* If non-null, print this message. */
};
};
int
-md_parse_option (int c, char * arg)
+md_parse_option (int c, const char * arg)
{
struct metag_long_option *lopt;