|
|
improve includes, stagit-gopher-index does not need compat.h - stagit-gopher - static git page generator for gopher |
|
|
 |
git clone git://git.codemadness.org/stagit-gopher (git://git.codemadness.org) |
|
|
 |
Log |
|
|
 |
Files |
|
|
 |
Refs |
|
|
 |
README |
|
|
 |
LICENSE |
|
|
|
--- |
|
|
 |
commit 66f25f38f7f59c9c37bb2462143c1250a20d04b0 |
|
|
 |
parent 2d17ff69d90329bbbfadbf258f4a22f26358943b |
|
|
 |
Author: Hiltjo Posthuma <hiltjo@codemadness.org> (mailto://) |
application/vnd.lotus-organizer |
|
|
Date: Wed, 12 Feb 2020 23:23:26 +0100 |
|
|
|
|
|
|
|
improve includes, stagit-gopher-index does not need compat.h |
|
|
|
|
|
|
|
Diffstat: |
|
|
|
M stagit-gopher-index.c | 7 +------ |
|
|
|
M stagit-gopher.c | 3 ++- |
|
|
|
|
|
|
|
2 files changed, 3 insertions(+), 7 deletions(-) |
|
|
|
--- |
|
|
 |
diff --git a/stagit-gopher-index.c b/stagit-gopher-index.c |
|
|
|
@@ -1,20 +1,15 @@ |
|
|
|
-#include <sys/stat.h> |
|
|
|
- |
|
|
|
#include <err.h> |
|
|
|
-#include <errno.h> |
|
|
|
-#include <inttypes.h> |
|
|
|
#include <locale.h> |
|
|
|
#include <limits.h> |
|
|
|
#include <stdio.h> |
|
|
|
#include <stdlib.h> |
|
|
|
#include <string.h> |
|
|
|
+#include <time.h> |
|
|
|
#include <unistd.h> |
|
|
|
#include <wchar.h> |
|
|
|
|
|
|
|
#include <git2.h> |
|
|
|
|
|
|
|
-#include "compat.h" |
|
|
|
- |
|
|
|
static git_repository *repo; |
|
|
|
|
|
|
|
static const char *relpath = ""; |
|
|
 |
diff --git a/stagit-gopher.c b/stagit-gopher.c |
|
|
|
@@ -3,13 +3,14 @@ |
|
|
|
|
|
|
|
#include <err.h> |
|
|
|
#include <errno.h> |
|
|
|
-#include <inttypes.h> |
|
|
|
#include <libgen.h> |
|
|
|
#include <limits.h> |
|
|
|
#include <locale.h> |
|
|
|
+#include <stdint.h> |
|
|
|
#include <stdio.h> |
|
|
|
#include <stdlib.h> |
|
|
|
#include <string.h> |
|
|
|
+#include <time.h> |
|
|
|
#include <unistd.h> |
|
|
|
#include <wchar.h> |
|
|
|
|
|