util.h: remove unused macro ISUTF8 - tscrape - twitter scraper
(HTM) git clone git://git.codemadness.org/tscrape
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit f5f136fabf5f8cd7245d963e7e479442200738e7
(DIR) parent 8af4c93ad7dee6454abd9da106b9f3e37e1ce400
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 23 Apr 2019 21:06:31 +0200
util.h: remove unused macro ISUTF8
Diffstat:
M util.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
(DIR) diff --git a/util.h b/util.h
@@ -1,5 +1,6 @@
#include <stdint.h>
#include <time.h>
+
#ifdef __OpenBSD__
#include <unistd.h>
#else
@@ -11,8 +12,6 @@ size_t strlcat(char *, const char *, size_t);
#undef strlcpy
size_t strlcpy(char *, const char *, size_t);
-#define ISUTF8(c) (((c) & 0xc0) != 0x80)
-
/* feed info */
struct feed {
char * name; /* feed name */