diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-08-10 09:44:09 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2000-08-10 09:44:09 +0000 |
commit | 994c3f1ff0c2b7ab62cfa413827ab17667805aa5 (patch) | |
tree | 58f94e3a69cee7187c02a77f19890b99e0910cfc /Skeleton.c | |
parent | 0cb72bf49d0a0decda8285f8fa5a559bffa9e118 (diff) | |
download | lcd4linux-994c3f1ff0c2b7ab62cfa413827ab17667805aa5.tar.gz |
[lcd4linux @ 2000-08-10 09:44:09 by reinelt]
new debugging scheme: error(), info(), debug()
uses syslog if in daemon mode
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@64 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | Skeleton.c | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: Skeleton.c,v 1.4 2000/03/26 18:46:28 reinelt Exp $ +/* $Id: Skeleton.c,v 1.5 2000/08/10 09:44:09 reinelt Exp $ * * skeleton driver for new display modules * @@ -20,6 +20,11 @@ * * * $Log: Skeleton.c,v $ + * Revision 1.5 2000/08/10 09:44:09 reinelt + * + * new debugging scheme: error(), info(), debug() + * uses syslog if in daemon mode + * * Revision 1.4 2000/03/26 18:46:28 reinelt * * bug in pixmap.c that leaded to empty bars fixed @@ -53,6 +58,7 @@ #include <stdlib.h> #include <stdio.h> +#include "debug.h" #include "cfg.h" #include "display.h" @@ -67,7 +73,7 @@ int Skel_init (LCD *Self) { Lcd=*Self; - fprintf (stderr, "Skeleton: This driver does not drive anything!"); + error ("Skeleton: This driver does not drive anything!"); return -1; Skel_clear(); |