diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | blog.h | 2 | ||||
-rw-r--r-- | index.c | 7 |
3 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,7 @@ .POSIX: CFLAGS=-static -OBJECTS=blog.o post.o auth.o +OBJECTS=blog.o post.o auth.o index.o all: blog @@ -13,4 +13,6 @@ int handle_post(void); int show_entry(const char *path); +void add_to_index(const char *path, const char *title); + #endif @@ -0,0 +1,7 @@ +#define _XOPEN_SOURCE 700 + +#include "blog.h" + +void add_to_index(const char *path, const char *title) +{ +} |