conf: make load_config_file static.
Michael
This commit is contained in:
		
							parent
							
								
									d3d31b434a
								
							
						
					
					
						commit
						c15434df2b
					
				@ -363,7 +363,7 @@ static int config_parse (struct config_s *conf, FILE * f)
 | 
				
			|||||||
/**
 | 
					/**
 | 
				
			||||||
 * Read the settings from a config file.
 | 
					 * Read the settings from a config file.
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
int load_config_file (const char *config_fname, struct config_s *conf)
 | 
					static int load_config_file (const char *config_fname, struct config_s *conf)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
        FILE *config_file;
 | 
					        FILE *config_file;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -98,7 +98,6 @@ struct config_s {
 | 
				
			|||||||
        hashmap_t anonymous_map;
 | 
					        hashmap_t anonymous_map;
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern int load_config_file (const char *config_fname, struct config_s *conf);
 | 
					 | 
				
			||||||
void free_config (struct config_s *conf);
 | 
					void free_config (struct config_s *conf);
 | 
				
			||||||
int reload_config_file (const char *config_fname, struct config_s *conf,
 | 
					int reload_config_file (const char *config_fname, struct config_s *conf,
 | 
				
			||||||
                        struct config_s *defaults);
 | 
					                        struct config_s *defaults);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user