blob: 910b86967760ca56d5b0866efc31e8964fbca632 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <stdlib.h>
#include "ll.h"
llnode* appendll(llnode* tail, char* str){
llnode* new = malloc(sizeof(llnode));
if (tail != NULL) tail->next = new;
new->str = str;
new->next = NULL;
return new;
}
|