iocaine: renice m rather than mplayer
[cmccabe-bin] / simple_time.c
index eea422f..5906409 100644 (file)
@@ -1,6 +1,7 @@
 #include <stdio.h>
 #include <string.h>
 #include <time.h>
+#include <unistd.h>
 
 /* Prints a time on a single line of the console.
  * I wrote this app so that I could measure times by repeatedly pressing
@@ -23,7 +24,7 @@ int main(void)
 {
        while (1) {
                char str[27];
-               size_t i, len;
+               size_t len;
                time_t t = time(NULL);
                struct tm *tm = localtime(&t);