diff options
author | Jakob Kaivo <jkk@ung.org> | 2019-07-18 19:18:36 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2019-07-18 19:18:36 -0400 |
commit | e8b3f24226dd1294cbf6d6e3a0ff2eb8a5403bd1 (patch) | |
tree | 93f7055ee914e83d32df23213cd3866c8e389313 | |
parent | 9875fdaae6f71cd00ee4c7e99abf171b7f51116e (diff) |
new function add_to_index()
-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) +{ +} |