diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-08 22:54:14 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-12-08 22:54:14 +0000 |
commit | eee8ddcee317bdd1717734b95ab5e8d0b968619d (patch) | |
tree | 8abc5755ebbf82ccc9c7caac1ad369cee76453d7 | |
parent | d54b7b42745b36d00bb2172a26241b0f3de6e681 (diff) | |
download | termo-eee8ddcee317bdd1717734b95ab5e8d0b968619d.tar.gz termo-eee8ddcee317bdd1717734b95ab5e8d0b968619d.tar.xz termo-eee8ddcee317bdd1717734b95ab5e8d0b968619d.zip |
Linefeed properly in main() in demo files
-rw-r--r-- | demo-async.c | 3 | ||||
-rw-r--r-- | 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); @@ -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]; |