From 06b37e4a51870eca00dc50dfb12d8b2dae027071 Mon Sep 17 00:00:00 2001 From: reinelt <> Date: Mon, 31 Jul 2000 06:46:35 +0000 Subject: [lcd4linux @ 2000-07-31 06:46:35 by reinelt] eliminated some compiler warnings with glibc --- HD44780.c | 9 +++++++-- Makefile.am | 2 +- Makefile.in | 2 +- cfg.c | 7 ++++++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/HD44780.c b/HD44780.c index 4d7e4d7..8ed2f19 100644 --- a/HD44780.c +++ b/HD44780.c @@ -1,4 +1,4 @@ -/* $Id: HD44780.c,v 1.4 2000/04/15 16:56:52 reinelt Exp $ +/* $Id: HD44780.c,v 1.5 2000/07/31 06:46:35 reinelt Exp $ * * driver for display modules based on the HD44780 chip * @@ -20,6 +20,10 @@ * * * $Log: HD44780.c,v $ + * Revision 1.5 2000/07/31 06:46:35 reinelt + * + * eliminated some compiler warnings with glibc + * * Revision 1.4 2000/04/15 16:56:52 reinelt * * moved delay loops to udelay.c @@ -59,11 +63,12 @@ #include #include +#include #include #include #include #include -#include +#include #include "debug.h" #include "cfg.h" diff --git a/Makefile.am b/Makefile.am index 46191f7..9dfdb69 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,7 @@ CLEANFILES = *~ bin_PROGRAMS = lcd4linux -AM_CFLAGS = $(X_CFLAGS) -Wall +AM_CFLAGS = $(X_CFLAGS) -D_GNU_SOURCE -Wall lcd4linux_LDFLAGS = $(X_LIBS) if WITH_X lcd4linux_LDADD = -lX11 diff --git a/Makefile.in b/Makefile.in index 25a80e7..adb347b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,7 +69,7 @@ CLEANFILES = *~ bin_PROGRAMS = lcd4linux -AM_CFLAGS = $(X_CFLAGS) -Wall +AM_CFLAGS = $(X_CFLAGS) -D_GNU_SOURCE -Wall lcd4linux_LDFLAGS = $(X_LIBS) @WITH_X_TRUE@lcd4linux_LDADD = -lX11 diff --git a/cfg.c b/cfg.c index b4f261f..af0afd4 100644 --- a/cfg.c +++ b/cfg.c @@ -1,4 +1,4 @@ -/* $Id: cfg.c,v 1.7 2000/04/15 11:13:54 reinelt Exp $ +/* $Id: cfg.c,v 1.8 2000/07/31 06:46:35 reinelt Exp $ * * config file stuff * @@ -20,6 +20,10 @@ * * * $Log: cfg.c,v $ + * Revision 1.8 2000/07/31 06:46:35 reinelt + * + * eliminated some compiler warnings with glibc + * * Revision 1.7 2000/04/15 11:13:54 reinelt * * added '-d' (debugging) switch @@ -92,6 +96,7 @@ * */ + #include #include #include -- cgit v1.2.3