diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-01-31 15:39:14 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-01-31 15:39:14 +0100 |
commit | 25684ad7c11622b08bcb2532c40c62e1c10f74cf (patch) | |
tree | ec23083f3181dd17bfed308b058be1e0fa5fef72 | |
parent | c75f540ac59c5d6e3676878170c42d35b11d0c34 (diff) |
code-style
-rw-r--r-- | sfeed.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -59,9 +59,9 @@ enum TagId { }; typedef struct feedtag { - char *name; /* name of tag to match */ - size_t len; /* len of `name` */ - enum TagId id; /* unique ID */ + char *name; /* name of tag to match */ + size_t len; /* len of `name` */ + enum TagId id; /* unique ID */ } FeedTag; typedef struct field { @@ -76,13 +76,13 @@ enum { typedef struct feedcontext { String *field; /* current FeedItem field String */ - FeedField fields[FeedFieldLast]; /* data for current feed item */ + FeedField fields[FeedFieldLast]; /* data for current item */ enum TagId tagid; /* unique number for parsed tag */ int iscontent; /* in content data */ int iscontenttag; /* in content tag */ - int attrcount; - enum ContentType contenttype; /* content-type for current item. */ + enum ContentType contenttype; /* content-type for item */ enum FeedType feedtype; + int attrcount; /* count item HTML element attributes */ } FeedContext; static enum TagId gettag(enum FeedType, const char *, size_t); |