diff options
author | Holden Rohrer <hr@hrhr.dev> | 2020-04-01 21:57:28 -0400 |
---|---|---|
committer | Holden Rohrer <hr@hrhr.dev> | 2020-04-01 21:57:31 -0400 |
commit | 7684f0844f02ed4f28e240bfe8e0baa1e1f58365 (patch) | |
tree | ca858db3bc3dfff3c2ed85b18627a2a21c3d0610 /ll.c | |
parent | 7ab511a476822ac1769c9be64b1ca315af6f983f (diff) | |
parent | 539e0bac89012848047e9d69aeee3d2138714928 (diff) |
badroff has slightly erring .LS && typeset cleanup
Two lines can break at different spots and create incorrect images;
nonbreaking spaces may need to be added for this.
Diffstat (limited to 'll.c')
-rw-r--r-- | ll.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -0,0 +1,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->loc = 0; + return new; +} |