summaryrefslogtreecommitdiff
path: root/Tachometer.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2004-12-31 13:47:19 +0000
committerEric S. Raymond <esr@thyrsus.com>2004-12-31 13:47:19 +0000
commit81a67519e75708b585032d5cd2cc9036fcac2a03 (patch)
treecc6f0b2459f193682ab49ef5cd44663a155ae1f5 /Tachometer.c
parentee22c934a88a7ba7f6a32c6929ae12f74ec8eeb7 (diff)
downloadgpsd-81a67519e75708b585032d5cd2cc9036fcac2a03.tar.gz
Narrow a dependency.
Diffstat (limited to 'Tachometer.c')
-rw-r--r--Tachometer.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/Tachometer.c b/Tachometer.c
index 969dad8d..e287452f 100644
--- a/Tachometer.c
+++ b/Tachometer.c
@@ -3,6 +3,7 @@
*
* Author: Kazuhiko Shutoh, 1989.
* Revised by Shinji Sumimoto, 1989/9 (xtachos)
+ * Modifications : ilham@mit.edu (July 10 '90)
*
* Permission to use, copy, modify and distribute without charge this software,
* documentation, images, etc. is granted, provided that this comment and the
@@ -10,14 +11,12 @@
* sleep as a consequence of use of this software.
*
* Send any comments, bug reports, etc. to shutoh@isl.yamaha.JUNET
- *
- * Modifications : ilham@mit.edu (July 10 '90)
*/
#include <X11/IntrinsicP.h>
#include <X11/StringDefs.h>
#include <TachometerP.h>
#include <math.h>
-#include "config.h"
+#include "config.h" /* must define UNUSED */
/****************************************************************
*
@@ -38,8 +37,7 @@ typedef struct {
XPoint point_list[5];
} StringRec;
-/* Number character database - like an "LED" */
-
+/* Number character database - like an LED */
static DigitRec num_segment[] = {
{{1,1,1,1,1,1,0}},
{{0,1,1,0,0,0,0}},
@@ -61,7 +59,6 @@ static XSegment offset[] = {
{-10, 0,-10,-10},
{-10, 0, 10, 0}};
-
/* " X 10 %" character database */
static StringRec char_data[] = {
{ 2, /* "X" */