diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2021-01-26 13:40:52 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2021-01-26 13:40:52 +0100 |
| commit | 0d9aa82da7d665c66c996ff45584e7a3de39d629 (patch) | |
| tree | 0df65cb7986ef514af25a99b495302e7c9673a8a /main.c | |
| parent | 2d909147580279eee111eb4791fb7738fda638c8 (diff) | |
| download | pintos-linked-list-0d9aa82da7d665c66c996ff45584e7a3de39d629.tar.gz | |
main.h
Diffstat (limited to 'main.c')
| -rw-r--r-- | main.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -1,13 +1,8 @@ -#include "list.h" +#include "main.h" #include <stdio.h> #include <stdlib.h> #include <string.h> -struct student { - char *name; - struct list_elem elem; -}; - // Read a line from stdin, strip the eventual newline and return a pointer // to the string. Remember to free the pointer. char *read_input() { |
