aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/postscript/misc
diff options
context:
space:
mode:
authorDan Cross <cross@gajendra.net>2020-01-10 14:44:21 +0000
committerDan Cross <cross@gajendra.net>2020-01-10 14:54:30 +0000
commitfa325e9b42b0bdfb48857d1958d9fb7ceac55151 (patch)
tree81d26256d152435135bcb1ae43121979a49f5f2b /src/cmd/postscript/misc
parent77a0a5b5194d4441c86de097f2aae297cb75e2c2 (diff)
downloadplan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.gz
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.tar.bz2
plan9port-fa325e9b42b0bdfb48857d1958d9fb7ceac55151.zip
Trivial changes: whitespace and modes.
Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>
Diffstat (limited to 'src/cmd/postscript/misc')
-rw-r--r--src/cmd/postscript/misc/ibmfont.c9
-rw-r--r--src/cmd/postscript/misc/laserbar.c4
-rw-r--r--src/cmd/postscript/misc/macfont.c9
-rw-r--r--src/cmd/postscript/misc/pscrypt.c1
4 files changed, 10 insertions, 13 deletions
diff --git a/src/cmd/postscript/misc/ibmfont.c b/src/cmd/postscript/misc/ibmfont.c
index 49736d6f..99d2f64c 100644
--- a/src/cmd/postscript/misc/ibmfont.c
+++ b/src/cmd/postscript/misc/ibmfont.c
@@ -8,7 +8,7 @@
*
* where font.ibm is the font file, exactly as it came over from an IBM PC,
* and font.unix is equivalent host resident font file usable on Unix systems.
- *
+ *
*/
#include <stdio.h>
@@ -212,7 +212,7 @@ asciitext(count)
ch = '\n';
putc(ch, fp_out);
} /* End for */
-
+
} /* End of asciitext */
/*****************************************************************************/
@@ -238,7 +238,7 @@ hexdata(count)
if ( (++n % 40) == 0 )
putc('\n', fp_out);
} /* End for */
-
+
} /* End of hexdata */
/*****************************************************************************/
@@ -263,7 +263,7 @@ getint()
return(val);
-} /* End of getint */
+} /* End of getint */
/*****************************************************************************/
@@ -293,4 +293,3 @@ error(kind, mesg, a1, a2, a3)
} /* End of error */
/*****************************************************************************/
-
diff --git a/src/cmd/postscript/misc/laserbar.c b/src/cmd/postscript/misc/laserbar.c
index 7b45e667..7818fc1d 100644
--- a/src/cmd/postscript/misc/laserbar.c
+++ b/src/cmd/postscript/misc/laserbar.c
@@ -13,13 +13,13 @@ static int code39[256] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
/* sp ! " # $ % & ' */
- 0304, 0, 0, 0, 0250, 0052, 0, 0,
+ 0304, 0, 0, 0, 0250, 0052, 0, 0,
/* ( ) * + , - - / */
0, 0, 0224, 0212, 0, 0205, 0604, 0242,
/* 0 1 2 3 4 5 6 7 */
0064, 0441, 0141, 0540, 0061, 0460, 0160, 0045,
/* 8 9 : ; < = > ? */
- 0444, 0144, 0, 0, 0, 0, 0, 0,
+ 0444, 0144, 0, 0, 0, 0, 0, 0,
/* @ A B C D E F G */
0, 0411, 0111, 0510, 0031, 0430, 0130, 0015,
/* H I J K L M N O */
diff --git a/src/cmd/postscript/misc/macfont.c b/src/cmd/postscript/misc/macfont.c
index 59244a19..d0c9cb78 100644
--- a/src/cmd/postscript/misc/macfont.c
+++ b/src/cmd/postscript/misc/macfont.c
@@ -8,7 +8,7 @@
*
* where font.mac is the font file, exactly as it came over from a Macintosh,
* and font.unix is equivalent host resident font file usable on Unix systems.
- *
+ *
*/
#include <stdio.h>
@@ -215,7 +215,7 @@ asciitext(count)
ch = '\n';
putc(ch, fp_out);
} /* End for */
-
+
} /* End of asciitext */
/*****************************************************************************/
@@ -241,7 +241,7 @@ hexdata(count)
if ( (++n % 40) == 0 )
putc('\n', fp_out);
} /* End for */
-
+
} /* End of hexdata */
/*****************************************************************************/
@@ -265,7 +265,7 @@ getint()
return(val);
-} /* End of getint */
+} /* End of getint */
/*****************************************************************************/
@@ -296,4 +296,3 @@ error(kind, mesg, a1, a2, a3)
} /* End of error */
/*****************************************************************************/
-
diff --git a/src/cmd/postscript/misc/pscrypt.c b/src/cmd/postscript/misc/pscrypt.c
index 1715288b..520daf33 100644
--- a/src/cmd/postscript/misc/pscrypt.c
+++ b/src/cmd/postscript/misc/pscrypt.c
@@ -332,4 +332,3 @@ Getc(fp)
} /* End of Getc */
/*****************************************************************************/
-