From ea64ba8daa44b6a92a33e64a82ffb4d8b44ad53b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Wed, 1 Jan 2003 23:07:02 +0000 Subject: [PATCH] fixing includes for exit(), memset() for gcc 2.96 compiler warnings --- comedi_calibrate/other.c | 1 + demo/antialias.c | 1 + demo/ao_waveform.c | 2 +- demo/dio.c | 1 + demo/info.c | 1 + demo/inp.c | 1 + demo/inpn.c | 1 + demo/insn.c | 1 + demo/ledclock.c | 1 + demo/mmap.c | 1 + demo/outp.c | 1 + demo/poll.c | 1 + demo/receiver.c | 1 + demo/select.c | 1 + demo/sender.c | 1 + demo/sigio.c | 1 + testing/main.c | 1 + 17 files changed, 17 insertions(+), 1 deletion(-) diff --git a/comedi_calibrate/other.c b/comedi_calibrate/other.c index 7552233..b410232 100644 --- a/comedi_calibrate/other.c +++ b/comedi_calibrate/other.c @@ -19,6 +19,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include #include +#include void comedi_nanodelay(comedi_t *dev, unsigned int delay) { diff --git a/demo/antialias.c b/demo/antialias.c index 2e1e957..1f1fb1e 100644 --- a/demo/antialias.c +++ b/demo/antialias.c @@ -33,6 +33,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/ao_waveform.c b/demo/ao_waveform.c index 5f3c40a..9a869e8 100644 --- a/demo/ao_waveform.c +++ b/demo/ao_waveform.c @@ -52,6 +52,7 @@ #include #include #include +#include #include "examples.h" @@ -112,7 +113,6 @@ int main(int argc, char *argv[]) unsigned int maxdata; comedi_range *rng; int ret; - lsampl_t insn_data = 0; parse_options(argc,argv); diff --git a/demo/dio.c b/demo/dio.c index 1587073..02beb2b 100644 --- a/demo/dio.c +++ b/demo/dio.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/info.c b/demo/info.c index 787be95..1420d0e 100644 --- a/demo/info.c +++ b/demo/info.c @@ -7,6 +7,7 @@ #include #include #include +#include #include #include #include "examples.h" diff --git a/demo/inp.c b/demo/inp.c index d09b165..0ab270c 100644 --- a/demo/inp.c +++ b/demo/inp.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/inpn.c b/demo/inpn.c index f855eb2..2676810 100644 --- a/demo/inpn.c +++ b/demo/inpn.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/insn.c b/demo/insn.c index 658715c..80f1d67 100644 --- a/demo/insn.c +++ b/demo/insn.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/ledclock.c b/demo/ledclock.c index 471386b..53f262a 100644 --- a/demo/ledclock.c +++ b/demo/ledclock.c @@ -36,6 +36,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/mmap.c b/demo/mmap.c index 9cbe778..30060cc 100644 --- a/demo/mmap.c +++ b/demo/mmap.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/outp.c b/demo/outp.c index 9a54b85..b123eee 100644 --- a/demo/outp.c +++ b/demo/outp.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/poll.c b/demo/poll.c index c2ac510..78c2bd3 100644 --- a/demo/poll.c +++ b/demo/poll.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/receiver.c b/demo/receiver.c index c0e687e..1fdac76 100644 --- a/demo/receiver.c +++ b/demo/receiver.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/select.c b/demo/select.c index aeba724..b1bfdcc 100644 --- a/demo/select.c +++ b/demo/select.c @@ -19,6 +19,7 @@ #include #include #include +#include #include #include #include diff --git a/demo/sender.c b/demo/sender.c index ad5aa6a..5207026 100644 --- a/demo/sender.c +++ b/demo/sender.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include #include "examples.h" diff --git a/demo/sigio.c b/demo/sigio.c index e096030..f721d5b 100644 --- a/demo/sigio.c +++ b/demo/sigio.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/testing/main.c b/testing/main.c index 3f838c4..839db21 100644 --- a/testing/main.c +++ b/testing/main.c @@ -5,6 +5,7 @@ #include #include #include +#include #include #include #include -- 2.26.2