Refactor: global.h renaming.

This commit is contained in:
Ari Koivula 2013-09-18 14:50:43 +03:00
parent 945e6c9c0e
commit 19e9b95a71
2 changed files with 3 additions and 3 deletions

View file

@ -53,8 +53,8 @@ int config_init(config* cfg)
*/
int config_destroy(config* cfg)
{
free_pointer(cfg->input);
free_pointer(cfg->output);
FREE_POINTER(cfg->input);
FREE_POINTER(cfg->output);
free(cfg);
return 1;

View file

@ -75,6 +75,6 @@
#define INLINE inline
#endif
#define free_pointer(pointer) { free(pointer); pointer = NULL; }
#define FREE_POINTER(pointer) { free(pointer); pointer = NULL; }
#endif