/*
- * $Id: options.c,v 1.27 2005/09/21 16:50:31 jheinonen Exp $
+ * $Id: options.c,v 1.27.4.1 2006/04/09 18:57:34 jheinonen Exp $
*
* by JH <jheinonen@users.sourceforge.net>
*
}
}
-static char *
+static const char *
opt_set_set_option(char *var, char *p, struct option *opt)
{
int len;
return NULL;
}
-static char *
+static const char *
opt_parse_set(buffer *b)
{
int i;
#include "database.h" /* needed for change_custom_field_name */
-static char *
+static const char *
opt_parse_customfield(buffer *b)
{
char *p, num[5];
static struct {
char *token;
- char * (*func) (buffer *line);
+ const char * (*func) (buffer *line);
} opt_parsers[] = {
{ "set", opt_parse_set },
{ "customfield", opt_parse_customfield },
opt_parse_line(char *line, int n, char *fn)
{
int i;
- char *err = NULL;
+ const char *err = NULL;
char *token;
buffer b;