summaryrefslogtreecommitdiff
path: root/streamhtmlparser/htmlparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'streamhtmlparser/htmlparser.c')
-rwxr-xr-x[-rw-r--r--]streamhtmlparser/htmlparser.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/streamhtmlparser/htmlparser.c b/streamhtmlparser/htmlparser.c
index c88486a..3e820f7 100644..100755
--- a/streamhtmlparser/htmlparser.c
+++ b/streamhtmlparser/htmlparser.c
@@ -38,7 +38,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <strings.h>
#include <ctype.h>
#include <assert.h>
@@ -77,7 +76,7 @@ static struct entityfilter_table_s {
/* Utility functions */
/* Similar to strncpy() but avoids the NULL padding. */
-static inline void nopad_strncpy(char *dst, const char *src, size_t dst_size,
+static INLINE void nopad_strncpy(char *dst, const char *src, size_t dst_size,
size_t src_size)
{
size_t size;
@@ -103,7 +102,7 @@ static int state_external(int st)
*
* From: http://www.w3.org/TR/html401/struct/text.html#h-9.1
*/
-static inline int html_isspace(char chr)
+static INLINE int html_isspace(char chr)
{
if (chr == ' ' || chr == '\t' || chr == '\n' || chr == '\r') {
return 1;