if (old_operating_system)
{
delete_cmd (old_operating_system, &infolist);
- free (old_operating_system);
+ xfree (old_operating_system);
}
- old_operating_system = strdup (operating_system);
+ old_operating_system = xstrdup (operating_system);
if (! operating_system || ! *operating_system)
{
p = "Unknown KOD library";
printf_filtered ("%s - %s\n", operating_system, p);
- free (kodlib);
+ xfree (kodlib);
}
}
}
void
-_initialize_kod ()
+_initialize_kod (void)
{
struct cmd_list_element *c;