From 44204187ec133a0ab7bd77c8d974ad5afd4d88b4 Mon Sep 17 00:00:00 2001 From: "Rodney W. Grimes" Date: Tue, 30 May 1995 06:58:14 +0000 Subject: [PATCH] Remove trailing whitespace. --- share/doc/iso/wisc/Makefile | 2 +- share/doc/psd/20.ipctut/dgramread.c | 2 +- share/doc/psd/20.ipctut/dgramsend.c | 4 ++-- share/doc/psd/20.ipctut/pipe.c | 2 +- share/doc/psd/20.ipctut/socketpair.c | 2 +- share/doc/psd/20.ipctut/strchkread.c | 2 +- share/doc/psd/20.ipctut/streamread.c | 6 +++--- share/doc/psd/20.ipctut/streamwrite.c | 2 +- share/doc/psd/20.ipctut/udgramread.c | 4 ++-- share/doc/psd/20.ipctut/udgramsend.c | 2 +- share/doc/psd/20.ipctut/ustreamread.c | 6 +++--- share/doc/psd/20.ipctut/ustreamwrite.c | 2 +- share/doc/usd/13.viref/Makefile | 4 ++-- share/doc/usd/Makefile | 4 ++-- share/examples/FreeBSD_version/FreeBSD_version.c | 2 +- share/examples/lkm/misc/module/miscmod.c | 2 +- share/examples/lkm/syscall/module/newsyscall.c | 2 +- share/examples/sunrpc/dir/dir_proc.c | 2 +- share/examples/sunrpc/dir/rls.c | 6 +++--- share/examples/sunrpc/msg/msg_proc.c | 4 ++-- share/examples/sunrpc/msg/printmsg.c | 2 +- share/examples/sunrpc/msg/rprintmsg.c | 12 ++++++------ share/man/man7/Makefile | 2 +- share/syscons/fonts/Makefile | 4 ++-- 24 files changed, 41 insertions(+), 41 deletions(-) diff --git a/share/doc/iso/wisc/Makefile b/share/doc/iso/wisc/Makefile index 7d9aa877ced..fde985b4213 100644 --- a/share/doc/iso/wisc/Makefile +++ b/share/doc/iso/wisc/Makefile @@ -13,7 +13,7 @@ TROFF = /usr/local/lib/troff # Print via speedy for cycles sake... # (assumes postscript printer...) # -program: +program: @echo printer is $(PRINTER) (cd figs; make) format -P$(PRINTER) -t program.nr | rsh speedy psdit \| lpr -P$(PRINTER) diff --git a/share/doc/psd/20.ipctut/dgramread.c b/share/doc/psd/20.ipctut/dgramread.c index cd0f147111f..193fca90067 100644 --- a/share/doc/psd/20.ipctut/dgramread.c +++ b/share/doc/psd/20.ipctut/dgramread.c @@ -43,7 +43,7 @@ * u_short sin_port; * struct in_addr sin_addr; * char sin_zero[8]; - * }; + * }; * * This program creates a datagram socket, binds a name to it, then reads * from the socket. diff --git a/share/doc/psd/20.ipctut/dgramsend.c b/share/doc/psd/20.ipctut/dgramsend.c index 831fbf1575a..909f71dfd53 100644 --- a/share/doc/psd/20.ipctut/dgramsend.c +++ b/share/doc/psd/20.ipctut/dgramsend.c @@ -42,7 +42,7 @@ /* * Here I send a datagram to a receiver whose name I get from the command * line arguments. The form of the command line is dgramsend hostname - * portnumber + * portnumber */ main(argc, argv) @@ -63,7 +63,7 @@ main(argc, argv) * Construct name, with no wildcards, of the socket to send to. * Getnostbyname() returns a structure including the network address * of the specified host. The port number is taken from the command - * line. + * line. */ hp = gethostbyname(argv[1]); if (hp == 0) { diff --git a/share/doc/psd/20.ipctut/pipe.c b/share/doc/psd/20.ipctut/pipe.c index 3f482f3084d..86cb6635425 100644 --- a/share/doc/psd/20.ipctut/pipe.c +++ b/share/doc/psd/20.ipctut/pipe.c @@ -40,7 +40,7 @@ * parent over the pipe. Notice that a pipe is a one-way communications * device. I can write to the output socket (sockets[1], the second socket * of the array returned by pipe()) and read from the input socket - * (sockets[0]), but not vice versa. + * (sockets[0]), but not vice versa. */ main() diff --git a/share/doc/psd/20.ipctut/socketpair.c b/share/doc/psd/20.ipctut/socketpair.c index afc5c90cab4..f525c76fc79 100644 --- a/share/doc/psd/20.ipctut/socketpair.c +++ b/share/doc/psd/20.ipctut/socketpair.c @@ -42,7 +42,7 @@ * This program creates a pair of connected sockets then forks and * communicates over them. This is very similar to communication with pipes, * however, socketpairs are two-way communications objects. Therefore I can - * send messages in both directions. + * send messages in both directions. */ main() diff --git a/share/doc/psd/20.ipctut/strchkread.c b/share/doc/psd/20.ipctut/strchkread.c index dcab1fce828..a1e148bb438 100644 --- a/share/doc/psd/20.ipctut/strchkread.c +++ b/share/doc/psd/20.ipctut/strchkread.c @@ -41,7 +41,7 @@ /* * This program uses select() to check that someone is trying to connect - * before calling accept(). + * before calling accept(). */ main() diff --git a/share/doc/psd/20.ipctut/streamread.c b/share/doc/psd/20.ipctut/streamread.c index 139a2698dad..ffad802f63e 100644 --- a/share/doc/psd/20.ipctut/streamread.c +++ b/share/doc/psd/20.ipctut/streamread.c @@ -40,9 +40,9 @@ /* * This program creates a socket and then begins an infinite loop. Each time - * through the loop it accepts a connection and prints out messages from it. + * through the loop it accepts a connection and prints out messages from it. * When the connection breaks, or a termination message comes through, the - * program accepts a new connection. + * program accepts a new connection. */ main() @@ -97,6 +97,6 @@ main() /* * Since this program has an infinite loop, the socket "sock" is * never explicitly closed. However, all sockets will be closed - * automatically when a process is killed or terminates normally. + * automatically when a process is killed or terminates normally. */ } diff --git a/share/doc/psd/20.ipctut/streamwrite.c b/share/doc/psd/20.ipctut/streamwrite.c index db4daafe5a7..07a35281e17 100644 --- a/share/doc/psd/20.ipctut/streamwrite.c +++ b/share/doc/psd/20.ipctut/streamwrite.c @@ -43,7 +43,7 @@ * This program creates a socket and initiates a connection with the socket * given in the command line. One message is sent over the connection and * then the socket is closed, ending the connection. The form of the command - * line is streamwrite hostname portnumber + * line is streamwrite hostname portnumber */ main(argc, argv) diff --git a/share/doc/psd/20.ipctut/udgramread.c b/share/doc/psd/20.ipctut/udgramread.c index 1b6aa3b20de..2cb605d76a1 100644 --- a/share/doc/psd/20.ipctut/udgramread.c +++ b/share/doc/psd/20.ipctut/udgramread.c @@ -40,7 +40,7 @@ * struct sockaddr_un { * short sun_family; * char sun_path[108]; - * }; + * }; */ #include @@ -49,7 +49,7 @@ /* * This program creates a UNIX domain datagram socket, binds a name to it, - * then reads from the socket. + * then reads from the socket. */ main() { diff --git a/share/doc/psd/20.ipctut/udgramsend.c b/share/doc/psd/20.ipctut/udgramsend.c index 5e2b1475daa..3e3ba932403 100644 --- a/share/doc/psd/20.ipctut/udgramsend.c +++ b/share/doc/psd/20.ipctut/udgramsend.c @@ -40,7 +40,7 @@ /* * Here I send a datagram to a receiver whose name I get from the command - * line arguments. The form of the command line is udgramsend pathname + * line arguments. The form of the command line is udgramsend pathname */ main(argc, argv) diff --git a/share/doc/psd/20.ipctut/ustreamread.c b/share/doc/psd/20.ipctut/ustreamread.c index 9faf5aa6aaf..97fadb95f87 100644 --- a/share/doc/psd/20.ipctut/ustreamread.c +++ b/share/doc/psd/20.ipctut/ustreamread.c @@ -39,11 +39,11 @@ #define NAME "socket" /* - * This program creates a socket in the UNIX domain and binds a name to it. + * This program creates a socket in the UNIX domain and binds a name to it. * After printing the socket's name it begins a loop. Each time through the * loop it accepts a connection and prints out messages from it. When the * connection breaks, or a termination message comes through, the program - * accepts a new connection. + * accepts a new connection. */ main() { @@ -89,7 +89,7 @@ main() * system that one is through using NAME. In most programs one uses * the call unlink() as below. Since the user will have to kill this * program, it will be necessary to remove the name by a command from - * the shell. + * the shell. */ close(sock); unlink(NAME); diff --git a/share/doc/psd/20.ipctut/ustreamwrite.c b/share/doc/psd/20.ipctut/ustreamwrite.c index e356e50e80d..bdc0b95d2d4 100644 --- a/share/doc/psd/20.ipctut/ustreamwrite.c +++ b/share/doc/psd/20.ipctut/ustreamwrite.c @@ -41,7 +41,7 @@ /* * This program connects to the socket named in the command line and sends a * one line message to that socket. The form of the command line is - * ustreamwrite pathname + * ustreamwrite pathname */ main(argc, argv) int argc; diff --git a/share/doc/usd/13.viref/Makefile b/share/doc/usd/13.viref/Makefile index ad9da3018d0..e5033022289 100644 --- a/share/doc/usd/13.viref/Makefile +++ b/share/doc/usd/13.viref/Makefile @@ -1,9 +1,9 @@ # From: @(#)Makefile 8.16 (Berkeley) 8/15/94 -# $Id$ +# $Id: Makefile,v 1.1 1995/01/11 03:24:15 wollman Exp $ VOLUME= usd/13.viref SRCS= vi.ref ${.OBJDIR}/index.so -FILES= ${SRCS} ex.cmd.roff set.opt.roff vi.cmd.roff +FILES= ${SRCS} ex.cmd.roff set.opt.roff vi.cmd.roff MACROS= -me CLEANFILES+=vi.ref.txt index index.so USE_SOELIM= yes diff --git a/share/doc/usd/Makefile b/share/doc/usd/Makefile index 763cb2469fa..3ca9ffd5d0b 100644 --- a/share/doc/usd/Makefile +++ b/share/doc/usd/Makefile @@ -1,10 +1,10 @@ # From: @(#)Makefile 8.2 (Berkeley) 4/20/94 -# $Id: Makefile,v 1.2 1995/01/11 03:23:59 wollman Exp $ +# $Id: Makefile,v 1.3 1995/01/12 20:58:10 wollman Exp $ # The following modules are encumbered: # 01.begin 02.learn 03.shell 05.dc 06.bc 09.edtut 10.edadv 15.sed 16.awk # 17.msmacros 21.troff 22.trofftut 23.eqn 24.eqnguide 25.tbl 26.refer -# 27.invert 28.bib 29.diction +# 27.invert 28.bib 29.diction # The following modules are not provided: # 14.jove diff --git a/share/examples/FreeBSD_version/FreeBSD_version.c b/share/examples/FreeBSD_version/FreeBSD_version.c index e9d8c76e448..1d75897b968 100644 --- a/share/examples/FreeBSD_version/FreeBSD_version.c +++ b/share/examples/FreeBSD_version/FreeBSD_version.c @@ -6,7 +6,7 @@ #include /* and this works */ #endif -int main(void) { +int main(void) { extern int getosreldate(void); printf("Compilation release date: %d\n", __FreeBSD_version); #if __FreeBSD_version >= 199408 diff --git a/share/examples/lkm/misc/module/miscmod.c b/share/examples/lkm/misc/module/miscmod.c index 04aa07c28ae..cc992aa6769 100644 --- a/share/examples/lkm/misc/module/miscmod.c +++ b/share/examples/lkm/misc/module/miscmod.c @@ -176,7 +176,7 @@ int cmd; * case it should return an errno from errno.h). */ miscmod( lkmtp, cmd, ver) -struct lkm_table *lkmtp; +struct lkm_table *lkmtp; int cmd; int ver; { diff --git a/share/examples/lkm/syscall/module/newsyscall.c b/share/examples/lkm/syscall/module/newsyscall.c index 5ae9e7d5def..3b690c20758 100644 --- a/share/examples/lkm/syscall/module/newsyscall.c +++ b/share/examples/lkm/syscall/module/newsyscall.c @@ -102,7 +102,7 @@ int cmd; * case it should return an errno from errno.h). */ newsyscall( lkmtp, cmd, ver) -struct lkm_table *lkmtp; +struct lkm_table *lkmtp; int cmd; int ver; { diff --git a/share/examples/sunrpc/dir/dir_proc.c b/share/examples/sunrpc/dir/dir_proc.c index 9f7522a9271..46221a2163c 100644 --- a/share/examples/sunrpc/dir/dir_proc.c +++ b/share/examples/sunrpc/dir/dir_proc.c @@ -19,7 +19,7 @@ readdir_1(dirname) namelist nl; namelist *nlp; static readdir_res res; /* must be static! */ - + /* * Open directory */ diff --git a/share/examples/sunrpc/dir/rls.c b/share/examples/sunrpc/dir/rls.c index 4f2d473674e..aa7f79f91b5 100644 --- a/share/examples/sunrpc/dir/rls.c +++ b/share/examples/sunrpc/dir/rls.c @@ -17,7 +17,7 @@ main(argc, argv) char *dir; readdir_res *result; namelist nl; - + if (argc != 3) { fprintf(stderr, "usage: %s host directory\n", argv[0]); @@ -44,14 +44,14 @@ main(argc, argv) clnt_pcreateerror(server); exit(1); } - + /* * Call the remote procedure "readdir" on the server */ result = readdir_1(&dir, cl); if (result == NULL) { /* - * An error occurred while calling the server. + * An error occurred while calling the server. * Print error message and die. */ clnt_perror(cl, server); diff --git a/share/examples/sunrpc/msg/msg_proc.c b/share/examples/sunrpc/msg/msg_proc.c index 80e5d959aa7..96c1cb5ab00 100644 --- a/share/examples/sunrpc/msg/msg_proc.c +++ b/share/examples/sunrpc/msg/msg_proc.c @@ -9,9 +9,9 @@ /* * Remote verson of "printmessage" */ -int * +int * printmessage_1(msg) - char **msg; + char **msg; { static int result; /* must be static! */ FILE *f; diff --git a/share/examples/sunrpc/msg/printmsg.c b/share/examples/sunrpc/msg/printmsg.c index dde55dd8670..f2d5285af39 100644 --- a/share/examples/sunrpc/msg/printmsg.c +++ b/share/examples/sunrpc/msg/printmsg.c @@ -20,7 +20,7 @@ main(argc, argv) fprintf(stderr, "%s: sorry, couldn't print your message\n", argv[0]); exit(1); - } + } printf("Message delivered!\n"); } diff --git a/share/examples/sunrpc/msg/rprintmsg.c b/share/examples/sunrpc/msg/rprintmsg.c index b9cb1e36170..b9301de5e0d 100644 --- a/share/examples/sunrpc/msg/rprintmsg.c +++ b/share/examples/sunrpc/msg/rprintmsg.c @@ -40,14 +40,14 @@ main(argc, argv) clnt_pcreateerror(server); exit(1); } - + /* * Call the remote procedure "printmessage" on the server */ result = printmessage_1(&message, cl); if (result == NULL) { /* - * An error occurred while calling the server. + * An error occurred while calling the server. * Print error message and die. */ clnt_perror(cl, server); @@ -59,13 +59,13 @@ main(argc, argv) */ if (*result == 0) { /* - * Server was unable to print our message. + * Server was unable to print our message. * Print error message and die. */ - fprintf(stderr, "%s: sorry, %s couldn't print your message\n", - argv[0], server); + fprintf(stderr, "%s: sorry, %s couldn't print your message\n", + argv[0], server); exit(1); - } + } /* * The message got printed on the server's console diff --git a/share/man/man7/Makefile b/share/man/man7/Makefile index f67d04f6fe6..fce31b9e484 100644 --- a/share/man/man7/Makefile +++ b/share/man/man7/Makefile @@ -2,7 +2,7 @@ #MISSING: eqnchar.7 man.7 ms.7 term.7 MAN7= ascii.7 environ.7 hier.7 hostname.7 intro.7 mailaddr.7 \ - mdoc.7 mdoc.samples.7 operator.7 + mdoc.7 mdoc.samples.7 operator.7 MLINKS= intro.7 miscellaneous.7 clean depend lint tags: diff --git a/share/syscons/fonts/Makefile b/share/syscons/fonts/Makefile index 020af4bb6f7..32a90865788 100644 --- a/share/syscons/fonts/Makefile +++ b/share/syscons/fonts/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.4 1995/02/22 14:03:10 sos Exp $ +# $Id: Makefile,v 1.5 1995/02/22 21:49:46 roberto Exp $ FONTS= cp437-8x8.fnt cp437-8x14.fnt cp437-8x16.fnt \ cp437-thin-8x8.fnt cp437-thin-8x16.fnt \ @@ -11,7 +11,7 @@ FONTS= cp437-8x8.fnt cp437-8x14.fnt cp437-8x16.fnt \ iso-8x8.fnt iso-8x14.fnt iso-8x16.fnt \ iso-thin-8x16.fnt \ koi8-r-8x8.fnt koi8-r-8x14.fnt koi8-r-8x16.fnt \ - koi8-rb-8x16.fnt koi8-rc-8x16.fnt + koi8-rb-8x16.fnt koi8-rc-8x16.fnt FONTDIR = /usr/share/syscons/fonts