Permalink
Browse files

y.tab.c:87:66: warning: duplicate const

y.tab.c:1771:31: warning: duplicate const
  • Loading branch information...
1 parent cedfb7e commit a723b68d534b891c4b50ca89dd4ecfa5bd8aba3c @haegar haegar committed May 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 cvconf.y
View
@@ -13,7 +13,7 @@ extern int yylex (void);
static char* catandfree(char*, char*, int, int);
static char* concatias(int, char*, int);
static struct settings_list_entry* list_mkientry(int);
-static struct settings_list_entry* list_mksentry(const char const*);
+static struct settings_list_entry* list_mksentry(const char*);
static struct settings_list* list_add_elem(struct settings_list*, struct settings_list_entry*);
static struct settings_list* list_allocate(void);
@@ -111,7 +111,7 @@ list_mkientry(int i)
}
static struct settings_list_entry*
-list_mksentry(const char const* s)
+list_mksentry(const char *s)
{
struct settings_list_entry* entry;
entry = malloc(sizeof(struct settings_list_entry));

0 comments on commit a723b68

Please sign in to comment.