herdem_dog.c
/**
 * Allocates and initialises new herdem_dog structure
 */
Allocates and initialises new herdem_dog structure
Allocates and initialises new herdem_dog structure
herdem_dog *new_herdem_dog()
{
    herdem_dog *dog;
    dog = malloc(sizeof(*dog));
    return herdem_dog_init(dog);
}
herdem_dog * new_herdem_dog ( ) { herdem_dog * dog ; dog = malloc ( sizeof ( * dog ) ) ; return herdem_dog_init ( dog ) ; }
Allocates and initialises new herdem_dog structure
Allocates and initialises new herdem_dog structure