projects
/
cmccabe-bin
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
ascii-tyrant.sh: handle e2 80 98, use sed with g
[cmccabe-bin]
/
simple_time.c
diff --git
a/simple_time.c
b/simple_time.c
index
86b92f9
..
9bede48
100644
(file)
--- a/
simple_time.c
+++ b/
simple_time.c
@@
-24,13
+24,11
@@
int main(void)
{
while (1) {
char str[27];
- size_t i, len;
time_t t = time(NULL);
struct tm *tm = localtime(&t);
str[0] = '\0';
asctime_r(tm, str);
- len = strlen(str);
printf("\r");
strip_newlines(str);
printf("%s", str);