mirror of https://github.com/ecmwf/eccodes.git
Const correctness
This commit is contained in:
parent
eef74b1e28
commit
2db38ede1c
|
@ -65,7 +65,7 @@ static void init_class(grib_action_class* c)
|
||||||
}
|
}
|
||||||
/* END_CLASS_IMP */
|
/* END_CLASS_IMP */
|
||||||
|
|
||||||
grib_action* grib_action_create_close(grib_context* context, char* filename)
|
grib_action* grib_action_create_close(grib_context* context, const char* filename)
|
||||||
{
|
{
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
grib_action_close* a;
|
grib_action_close* a;
|
||||||
|
|
|
@ -86,7 +86,7 @@ grib_action* grib_action_create_write(grib_context* context, const char* name, i
|
||||||
grib_action* grib_action_create_print(grib_context* context, const char* name, char* outname);
|
grib_action* grib_action_create_print(grib_context* context, const char* name, char* outname);
|
||||||
|
|
||||||
/* action_class_close.cc */
|
/* action_class_close.cc */
|
||||||
grib_action* grib_action_create_close(grib_context* context, char* filename);
|
grib_action* grib_action_create_close(grib_context* context, const char* filename);
|
||||||
|
|
||||||
/* action_class_variable.cc */
|
/* action_class_variable.cc */
|
||||||
grib_action* grib_action_create_variable(grib_context* context, const char* name, const char* op, const long len, grib_arguments* params, grib_arguments* default_value, int flags, const char* name_space);
|
grib_action* grib_action_create_variable(grib_context* context, const char* name, const char* op, const long len, grib_arguments* params, grib_arguments* default_value, int flags, const char* name_space);
|
||||||
|
|
Loading…
Reference in New Issue