train2
This commit is contained in:
parent
0d8ada0d9d
commit
0e2548ede3
@ -7,7 +7,6 @@
|
||||
struct car* add_car(struct car* first,const char* target) {
|
||||
struct car* newcar = calloc(1, sizeof(struct car));
|
||||
strcpy(newcar->value, target);
|
||||
newcar->next = first;
|
||||
if(first == NULL){
|
||||
return newcar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user