Skip to content

Commit

Permalink
Remove const to pass the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenoy committed Mar 11, 2022
1 parent d1e6a3c commit 0977e92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mapfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -5899,7 +5899,7 @@ static void writeConfig(FILE *stream, int indent, configObj *config)
writeBlockEnd(stream, indent, "CONFIG");
}

int msSaveConfig(const configObj *config, const char *filename)
int msSaveConfig(configObj *config, const char *filename)
{
FILE *stream;

Expand Down
2 changes: 1 addition & 1 deletion mapserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2209,7 +2209,7 @@ void msPopulateTextSymbolForLabelAndString(textSymbolObj *ts, labelObj *l, char
MS_DLL_EXPORT mapObj *msLoadMap(const char *filename, const char *new_mappath, const configObj *config);
MS_DLL_EXPORT int msTransformXmlMapfile(const char *stylesheet, const char *xmlMapfile, FILE *tmpfile);
MS_DLL_EXPORT int msSaveMap(mapObj *map, char *filename);
MS_DLL_EXPORT int msSaveConfig(const configObj *map, const char *filename);
MS_DLL_EXPORT int msSaveConfig(configObj *map, const char *filename);
MS_DLL_EXPORT void msFreeCharArray(char **array, int num_items);
MS_DLL_EXPORT int msUpdateScalebarFromString(scalebarObj *scalebar, char *string);
MS_DLL_EXPORT int msUpdateQueryMapFromString(queryMapObj *querymap, char *string);
Expand Down

0 comments on commit 0977e92

Please sign in to comment.