X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=blobdiff_plain;f=service%2Fsetlbf.c;fp=service%2Fsetlbf.c;h=94c251e0d24b901b52b64860f8dfd3f87ca49e08;hp=0000000000000000000000000000000000000000;hb=6f841e89dfe9200a6f3a2f93a9dd83f66f8ef550;hpb=8f33afd87f118bfea52f50f7787843b694a38e72 diff --git a/service/setlbf.c b/service/setlbf.c new file mode 100644 index 0000000..94c251e --- /dev/null +++ b/service/setlbf.c @@ -0,0 +1,6 @@ +#include + +static void __attribute__((constructor)) setlbf(void) +{ + setbuf(stdout, NULL); +}