mirror of https://github.com/ecmwf/eccodes.git
Clang 5.0.1
This commit is contained in:
parent
f1bc8176b6
commit
de337d4cb7
|
@ -1780,16 +1780,16 @@ int any_f_new_from_loaded__(int* msgid,int* gid){
|
|||
return any_f_new_from_loaded(msgid,gid);
|
||||
}
|
||||
|
||||
int codes_f_clear_loaded_from_file() {
|
||||
int codes_f_clear_loaded_from_file(void) {
|
||||
grib_context* c=grib_context_get_default();
|
||||
/* grib_oarray_delete_content(c,binary_messages); */
|
||||
grib_oarray_delete(c,binary_messages);
|
||||
return GRIB_SUCCESS;
|
||||
}
|
||||
int codes_f_clear_loaded_from_file_() {
|
||||
int codes_f_clear_loaded_from_file_(void) {
|
||||
return codes_f_clear_loaded_from_file();
|
||||
}
|
||||
int codes_f_clear_loaded_from_file__() {
|
||||
int codes_f_clear_loaded_from_file__(void) {
|
||||
return codes_f_clear_loaded_from_file();
|
||||
}
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -157,9 +157,9 @@ int any_f_new_from_loaded_(int* msgid,int* gid);
|
|||
int any_f_new_from_loaded__(int* msgid,int* gid);
|
||||
int any_f_new_from_loaded(int* msgid,int* gid);
|
||||
|
||||
int codes_f_clear_loaded_from_file_();
|
||||
int codes_f_clear_loaded_from_file__();
|
||||
int codes_f_clear_loaded_from_file();
|
||||
int codes_f_clear_loaded_from_file_(void);
|
||||
int codes_f_clear_loaded_from_file__(void);
|
||||
int codes_f_clear_loaded_from_file(void);
|
||||
|
||||
int grib_f_new_from_file_(int *fid, int *gid);
|
||||
int grib_f_new_from_file__(int *fid, int *gid);
|
||||
|
|
|
@ -8,7 +8,5 @@ int grib_optimize_decimal_factor (grib_accessor * a, const char * reference_valu
|
|||
const int compat_gribex, const int compat_32bit,
|
||||
long * kdec, long * kbin, double * ref);
|
||||
|
||||
int grib_use_optimized_decimal_factor ();
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -112,7 +112,7 @@ grib_options_help grib_options_help_list[] ={
|
|||
int grib_options_help_count=sizeof(grib_options_help_list)/sizeof(grib_options_help);
|
||||
|
||||
|
||||
void usage()
|
||||
void usage(void)
|
||||
{
|
||||
int i=0;
|
||||
printf("\nNAME \t%s\n\n",grib_tool_name);
|
||||
|
@ -402,7 +402,7 @@ char* grib_options_get_args(char* id)
|
|||
return err;
|
||||
}
|
||||
|
||||
void usage_doxygen()
|
||||
void usage_doxygen(void)
|
||||
{
|
||||
int i=0;
|
||||
printf("/*! \\page %s %s\n",grib_tool_name,grib_tool_name);
|
||||
|
@ -422,7 +422,7 @@ void usage_doxygen()
|
|||
}
|
||||
|
||||
#if 0
|
||||
void usage_doxygen() {
|
||||
void usage_doxygen(void) {
|
||||
int i=0;
|
||||
printf("/*! \\page %s %s\n",grib_tool_name,grib_tool_name);
|
||||
printf("\\section DESCRIPTION \n%s\n\n",grib_tool_description);
|
||||
|
|
|
@ -181,8 +181,8 @@ int grib_tool(int argc, char **argv);
|
|||
char* grib_options_get_help(char* id);
|
||||
char* grib_options_get_args(char* id);
|
||||
int grib_options_command_line(const char* id);
|
||||
void usage();
|
||||
void usage_doxygen();
|
||||
void usage(void);
|
||||
void usage_doxygen(void);
|
||||
int grib_tool_before_getopt(grib_runtime_options* options);
|
||||
int grib_tool_init(grib_runtime_options* options);
|
||||
int grib_tool_new_file_action(grib_runtime_options* options,grib_tools_file* file);
|
||||
|
|
Loading…
Reference in New Issue