From: Philipp Hachtmann Date: Tue, 17 May 2016 11:53:47 +0000 (+0200) Subject: src-filters: Add missing includes, reduce warnings X-Git-Url: http://gitweb.hachti.de/?a=commitdiff_plain;h=b30bf85c9301650f06b0dc31a440a5b944011643;p=h316.git src-filters: Add missing includes, reduce warnings Signed-off-by: Philipp Hachtmann --- diff --git a/pc-tools/src-filters/Makefile b/pc-tools/src-filters/Makefile index e0140cb..dd139db 100644 --- a/pc-tools/src-filters/Makefile +++ b/pc-tools/src-filters/Makefile @@ -1,6 +1,7 @@ PROGS=paron paroff load turn zstrip tab default: $(PROGS) +CFLAGS=-Wall clean: @rm -f $(PROGS) diff --git a/pc-tools/src-filters/load.c b/pc-tools/src-filters/load.c index 1bedea3..4beb6a5 100644 --- a/pc-tools/src-filters/load.c +++ b/pc-tools/src-filters/load.c @@ -7,7 +7,7 @@ #include #include #include - +#include struct termios orgstate; struct termios workstate; diff --git a/pc-tools/src-filters/paroff.c b/pc-tools/src-filters/paroff.c index e0dac8c..bb66ee0 100644 --- a/pc-tools/src-filters/paroff.c +++ b/pc-tools/src-filters/paroff.c @@ -1,6 +1,7 @@ #include #include #include +#include #define BUF_SIZ 100000 #define LINE_LENGTH 72 diff --git a/pc-tools/src-filters/paron.c b/pc-tools/src-filters/paron.c index f69eb9e..fe38d9a 100644 --- a/pc-tools/src-filters/paron.c +++ b/pc-tools/src-filters/paron.c @@ -1,6 +1,7 @@ #include #include #include +#include #define BUF_SIZ 100000 #define LINE_LENGTH 72 diff --git a/pc-tools/src-filters/tab.c b/pc-tools/src-filters/tab.c index b8253a3..982b679 100644 --- a/pc-tools/src-filters/tab.c +++ b/pc-tools/src-filters/tab.c @@ -1,4 +1,5 @@ #include +#include /* * This program does two things: diff --git a/pc-tools/src-filters/turn.c b/pc-tools/src-filters/turn.c index a0c446e..11eb9ef 100644 --- a/pc-tools/src-filters/turn.c +++ b/pc-tools/src-filters/turn.c @@ -5,6 +5,7 @@ #include #include #include +#include #define BUFFER_SIZE 1000000 diff --git a/pc-tools/src-filters/zstrip.c b/pc-tools/src-filters/zstrip.c index eba69b1..15141b8 100644 --- a/pc-tools/src-filters/zstrip.c +++ b/pc-tools/src-filters/zstrip.c @@ -3,6 +3,7 @@ #include #include #include +#include #define MAX_SIZE 1000000