diff options
Diffstat (limited to 'cd_linkedlist.c')
-rw-r--r-- | cd_linkedlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cd_linkedlist.c b/cd_linkedlist.c index 4e0d741..fc7df88 100644 --- a/cd_linkedlist.c +++ b/cd_linkedlist.c @@ -14,7 +14,7 @@ struct waster { struct waster *next; }; -struct waster *newnode () { +struct waster *newnode (void) { struct waster *new = malloc(sizeof(struct waster)); return new; @@ -62,7 +62,7 @@ void freellist(struct waster *wr1) { } } -int main () { +int main (void) { uint64_t passes = 4; uint64_t passstep = 1; |