Introduction
Introduction Statistics Contact Development Disclaimer Help
improve includes, stagit-index does not need compat.h - stagit - static git pag…
git clone git://git.codemadness.org/stagit
Log
Files
Refs
README
LICENSE
---
commit 2f7e7f2503014f66607b588f32de0b1be69c28a1
parent 4a93974f52683114dd6c4db3bad0b7adace7c771
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 12 Feb 2020 23:20:25 +0100
improve includes, stagit-index does not need compat.h
Diffstat:
M stagit-index.c | 7 +------
M stagit.c | 3 ++-
2 files changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/stagit-index.c b/stagit-index.c
@@ -1,18 +1,13 @@
-#include <sys/stat.h>
-
#include <err.h>
-#include <errno.h>
-#include <inttypes.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <git2.h>
-#include "compat.h"
-
static git_repository *repo;
static const char *relpath = "";
diff --git a/stagit.c b/stagit.c
@@ -3,12 +3,13 @@
#include <err.h>
#include <errno.h>
-#include <inttypes.h>
#include <libgen.h>
#include <limits.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <time.h>
#include <unistd.h>
#include <git2.h>
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.