summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:21:19 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-10-06 22:21:19 -0700
commit0a21f2228a9b81fa3b69d10ae2f334f76f9505a2 (patch)
tree62de61adc102177d51dd71dfc83dbc70af36b395
parent11c06cace6b7d98c57207016b00f2a851633c4ce (diff)
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README4
-rw-r--r--constype.c24
-rw-r--r--constype.man2
3 files changed, 15 insertions, 15 deletions
diff --git a/README b/README
index 8e4bfce..1a5d952 100644
--- a/README
+++ b/README
@@ -1,11 +1,11 @@
constype prints on the standard output the Sun code for the type of
display that the specified device is.
-It was originally written for SunOS, but has been ported to other
+It was originally written for SunOS, but has been ported to other
SPARC OS'es and to Solaris on both SPARC & x86.
It has lived for years in the xc/programs/Xserver/hw/sun directory of
-the X Window System, and is now split out by itself as part of the
+the X Window System, and is now split out by itself as part of the
X.Org Modularization Project for X11R7.0.
All questions regarding this software should be directed at the
diff --git a/constype.c b/constype.c
index d5946b9..6dd208a 100644
--- a/constype.c
+++ b/constype.c
@@ -1,6 +1,6 @@
/* consoletype - utility to print out string identifying Sun console type
*
- * Copyright 1988 SRI
+ * Copyright 1988 SRI
*
* Permission to use, copy, modify, and distribute this software and its
* documentation for any purpose and without fee is hereby granted, provided
@@ -78,7 +78,7 @@ main (int argc, char **argv)
# include <sys/fbio.h>
# ifdef HAVE_SYS_VISUAL_IO_H
/* VIS_GETIDENTIFIER ioctl added in Solaris 2.3 */
-# include <sys/visual_io.h>
+# include <sys/visual_io.h>
# endif
#else
# ifndef HAVE_MACHINE_FBIO_H
@@ -89,7 +89,7 @@ main (int argc, char **argv)
#endif
/* Sun doesn't see fit to update <sys/fbio.h> to reflect the addition
- * of the TCX
+ * of the TCX
*/
#define XFBTYPE_TCX 21
#define XFBTYPE_LASTPLUSONE 22
@@ -109,30 +109,30 @@ static const char *decode_fb[] = {
"gp2",
"cg5", "cg3",
"cg8", "cg4",
- "nsA", "nsB", "nsC",
+ "nsA", "nsB", "nsC",
#ifdef FBTYPE_SUNFAST_COLOR
- "gx/cg6",
+ "gx/cg6",
#endif
#ifdef FBTYPE_SUNROP_COLOR
- "rop",
+ "rop",
#endif
#ifdef FBTYPE_SUNFB_VIDEO
- "vid",
+ "vid",
#endif
#ifdef FBTYPE_SUNGIFB
- "gifb",
+ "gifb",
#endif
#ifdef FBTYPE_SUNGPLAS
- "plas",
+ "plas",
#endif
#ifdef FBTYPE_SUNGP3
- "gp3/cg12",
+ "gp3/cg12",
#endif
#ifdef FBTYPE_SUNGT
- "gt",
+ "gt",
#endif
#ifdef FBTYPE_SUNLEO
- "leo/zx",
+ "leo/zx",
#endif
#ifdef FBTYPE_MDICOLOR
"mdi/cg14",
diff --git a/constype.man b/constype.man
index 16a11c0..14f051e 100644
--- a/constype.man
+++ b/constype.man
@@ -61,7 +61,7 @@ another error occurred.
Not tested on all frame buffer types
.SH "SEE ALSO"
.BR visual_io (7I)
-.SH COPYRIGHT
+.SH COPYRIGHT
Copyright 1988, SRI
.PP
Permission to use, copy, modify, and distribute this software and its