From eee8ddcee317bdd1717734b95ab5e8d0b968619d Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Mon, 8 Dec 2008 22:54:14 +0000 Subject: Linefeed properly in main() in demo files --- demo-async.c | 3 ++- demo.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/demo-async.c b/demo-async.c index 0ac9f27..2574faa 100644 --- a/demo-async.c +++ b/demo-async.c @@ -10,7 +10,8 @@ static void on_key(termkey_t *tk, termkey_key *key) printf("%s\n", buffer); } -int main(int argc, char *argv[]) { +int main(int argc, char *argv[]) +{ TERMKEY_CHECK_VERSION; termkey_t *tk = termkey_new(0, 0); diff --git a/demo.c b/demo.c index 7424d8f..c39c38e 100644 --- a/demo.c +++ b/demo.c @@ -2,7 +2,8 @@ #include "termkey.h" -int main(int argc, char *argv[]) { +int main(int argc, char *argv[]) +{ TERMKEY_CHECK_VERSION; char buffer[50]; -- cgit v1.2.3-70-g09d2