From: Andy Spencer Date: Sun, 16 Jun 2013 08:41:34 +0000 (+0000) Subject: Misc formatting and cleanup changes X-Git-Url: http://pileus.org/git/?p=lackey;a=commitdiff_plain;h=c7ac98ef6a257d8c1c3f7b072aa9be0909f3e479 Misc formatting and cleanup changes --- diff --git a/README b/README index eb3206d..83bc40d 100644 --- a/README +++ b/README @@ -15,7 +15,7 @@ Build and install lackey: Running lackey -------------- -Start lackey from from a termainl: +Start lackey from from a terminal: lackey @@ -23,6 +23,6 @@ Start lackey from from a termainl: Hacking ------- Common source files are in the src directory. Each Curses screen has it's own -source file in the view directory and each calendar backend has a source file -in the cal directory. The views and calendar backends are access though the +source file in the views directory and each calendar backend has a source file +in the cals directory. The views and calendar backends are access though the view.c and cal.c files, respectively. diff --git a/config.mk.example b/config.mk.example index afdb097..1c23c70 100644 --- a/config.mk.example +++ b/config.mk.example @@ -2,10 +2,10 @@ PREFIX ?= /usr CFLAGS ?= -g -Wall -Werror --std=c99 default: all run-lackey +#default: all run-test run-lackey: lackey @urxvt -e ./$< - @cat /tmp/lackey.log run-test: test - ./$< + ./$< date ical conf diff --git a/src/conf.h b/src/conf.h index ab2c885..9b0c593 100644 --- a/src/conf.h +++ b/src/conf.h @@ -1,16 +1,16 @@ /* * Copyright (C) 2013 Andy Spencer - * + * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ diff --git a/views/events.c b/views/events.c index 2224e33..eec7ab0 100644 --- a/views/events.c +++ b/views/events.c @@ -19,10 +19,10 @@ #include -#include -#include -#include -#include +#include "util.h" +#include "date.h" +#include "cal.h" +#include "view.h" /* Static data */ static WINDOW *win;