]> git.webhop.me Git - lcd4linux.git/commitdiff
[lcd4linux @ 2000-07-31 06:46:35 by reinelt]
authorreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 31 Jul 2000 06:46:35 +0000 (06:46 +0000)
committerreinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>
Mon, 31 Jul 2000 06:46:35 +0000 (06:46 +0000)
eliminated some compiler warnings with glibc

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@59 3ae390bd-cb1e-0410-b409-cd5a39f66f1f

HD44780.c
Makefile.am
Makefile.in
cfg.c

index 4d7e4d7b7d93796bdd84e667ff8096450302d385..8ed2f19cd62cf9dec8f92e8ccefa7b78f1d5d01a 100644 (file)
--- 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
  *
  *
  *
  * $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
 
 #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"
index 46191f7f41012937874e173986b6be5e750639ce..9dfdb692281d4f7afd0183a83276151c98463607 100644 (file)
@@ -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
index 25a80e7bfe306b6e900a5fa6dd34a1c25b0ee118..adb347b95c362c92514b4fc93e1d8fbd507532fd 100644 (file)
@@ -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 b4f261fedc76f96aedf7d0886707260704d4142a..af0afd4abc768af2fe7cfe16fac580f976f637b4 100644 (file)
--- 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
  *
  *
  *
  * $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>