Introduction
Introduction Statistics Contact Development Disclaimer Help
cleanup includes and remove unused fields from struct feed - tscrape - twitter …
git clone git://git.codemadness.org/tscrape
Log
Files
Refs
README
LICENSE
---
commit 0e4b407d02da9f565a5ba6def26db22565925cbd
parent c0ae8d7b1f540d5cda35df1abe323aecf8ab3ff5
Author: Hiltjo Posthuma <[email protected]>
Date: Sat, 1 Feb 2020 15:13:33 +0100
cleanup includes and remove unused fields from struct feed
Diffstat:
M strlcat.c | 1 -
M strlcpy.c | 1 -
M tscrape.c | 5 +----
M util.h | 7 +++----
4 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/strlcat.c b/strlcat.c
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
#include <string.h>
/*
diff --git a/strlcpy.c b/strlcpy.c
@@ -16,7 +16,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/types.h>
#include <string.h>
/*
diff --git a/tscrape.c b/tscrape.c
@@ -2,12 +2,9 @@
#include <ctype.h>
#include <err.h>
-#include <errno.h>
-#include <limits.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
-#include <time.h>
+#include <strings.h>
#include <unistd.h>
#include "xml.h"
diff --git a/util.h b/util.h
@@ -1,5 +1,6 @@
-#include <stdint.h>
-#include <time.h>
+#include <sys/types.h>
+
+#include <stdio.h>
#ifdef __OpenBSD__
#include <unistd.h>
@@ -17,8 +18,6 @@ struct feed {
char * name; /* feed name */
unsigned long totalnew; /* amount of new items per feed */
unsigned long total; /* total items */
- time_t timenewest;
- char timenewestformat[64];
};
enum {
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.