diff options
author | jaseg <code@jaseg.net> | 2015-07-07 02:49:51 +0200 |
---|---|---|
committer | jaseg <code@jaseg.net> | 2015-07-07 02:49:51 +0200 |
commit | 84dc917720ff12a741bf87824bef1e6c31c9e1f2 (patch) | |
tree | 0dd61b098bc8192dfcc7399db686926ff5a56442 /lolcat.c | |
parent | 5bd8c7dccaf04939fc8aa8b9a9aecdb56f2b9b91 (diff) | |
download | lolcat-84dc917720ff12a741bf87824bef1e6c31c9e1f2.tar.gz lolcat-84dc917720ff12a741bf87824bef1e6c31c9e1f2.tar.bz2 lolcat-84dc917720ff12a741bf87824bef1e6c31c9e1f2.zip |
Link statically against musl
Diffstat (limited to 'lolcat.c')
-rw-r--r-- | lolcat.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -19,7 +19,7 @@ #include <stdio.h> #include <wchar.h> #include <ctype.h> -#include <error.h> +#include <err.h> #include <errno.h> #include <stdlib.h> #include <string.h> @@ -27,8 +27,6 @@ #include <unistd.h> #include <sys/time.h> -#include "fgetwc_fix.h" - static char helpstr[] = "\n" "Usage: lolcat [-h horizontal_speed] [-v vertical_speed] [--] [FILES...]\n" @@ -139,7 +137,7 @@ int main(int argc, char **argv){ return 2; } - while((c = _fgetwc_fixed(f)) > 0){ + while((c = fgetwc(f)) > 0){ if(colors){ find_escape_sequences(c, &escape_state); |