ssnail

crappy and opinionated static site generator
git clone https://git.e1e0.net/ssnail.git
Log | Files | Refs | README | LICENSE

commit 7f003863c128f9e19c9e13a9edb154982dbab912
parent e15220a2f0ddaffa6e5f489b3384f1d4dcbdf19d
Author: Paco Esteban <paco@e1e0.net>
Date:   Wed, 24 Jun 2020 17:49:30 +0200

cosmetic changes

Diffstat:
Mssnail.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/ssnail.c b/ssnail.c @@ -53,15 +53,15 @@ struct article { SLIST_HEAD(listhead, article) head; -__dead static void usage(void); -static void articleq_free(struct listhead *); +__dead static void usage(void); +static void articleq_free(struct listhead *); static struct article *populate_article_entry(char *, char *); static const struct ssnail_error *process_dir(char *, char *, int); static const struct ssnail_error *write_html(struct article *, char *, char *); -static int gen_html(struct article *); +static int gen_html(struct article *); __dead static void usage(void) @@ -269,8 +269,8 @@ static const struct ssnail_error * write_html(struct article *ap, char *head_tpl, char *foot_tpl) { const struct ssnail_error *error = NULL; - FILE *fout; - char *header = NULL, *footer = NULL; + FILE *fout; + char *header = NULL, *footer = NULL; if (strlen(ap->title) == 0 || strlen(ap->author) == 0