diff options
| author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-07-31 06:46:35 +0000 | 
|---|---|---|
| committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-07-31 06:46:35 +0000 | 
| commit | 5369cdf6f69abc9a33581e8209f4fc1d2ea468f1 (patch) | |
| tree | bcd8c3489b250b7a4d5e70b1eff01d6080da5174 | |
| parent | 1e6198b7be4ecc45b8c62d814df8559163e9712c (diff) | |
| download | lcd4linux-5369cdf6f69abc9a33581e8209f4fc1d2ea468f1.tar.gz | |
[lcd4linux @ 2000-07-31 06:46:35 by reinelt]
eliminated some compiler warnings with glibc
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@59 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
| -rw-r--r-- | HD44780.c | 9 | ||||
| -rw-r--r-- | Makefile.am | 2 | ||||
| -rw-r--r-- | Makefile.in | 2 | ||||
| -rw-r--r-- | cfg.c | 7 | 
4 files changed, 15 insertions, 5 deletions
@@ -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 <stdlib.h>  #include <stdio.h> +#include <string.h>  #include <unistd.h>  #include <time.h>  #include <signal.h>  #include <errno.h> -#include <asm/io.h> +#include <sys/io.h>  #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 @@ -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 <stdlib.h>  #include <stdio.h>  #include <string.h>  | 
