diff options
author | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:58:14 +0000 |
---|---|---|
committer | rgrimes <rgrimes@FreeBSD.org> | 1995-05-30 06:58:14 +0000 |
commit | 423ba8f9bc23d93bfc244aca9b12563b1c9de90d (patch) | |
tree | c35d15efbecd3a9eb67a613df648a6bb614dca4b /share/examples/sunrpc | |
parent | a14d555c873398b14776ca4f2c33f9c69617afb9 (diff) | |
download | FreeBSD-src-423ba8f9bc23d93bfc244aca9b12563b1c9de90d.zip FreeBSD-src-423ba8f9bc23d93bfc244aca9b12563b1c9de90d.tar.gz |
Remove trailing whitespace.
Diffstat (limited to 'share/examples/sunrpc')
-rw-r--r-- | share/examples/sunrpc/dir/dir_proc.c | 2 | ||||
-rw-r--r-- | share/examples/sunrpc/dir/rls.c | 6 | ||||
-rw-r--r-- | share/examples/sunrpc/msg/msg_proc.c | 4 | ||||
-rw-r--r-- | share/examples/sunrpc/msg/printmsg.c | 2 | ||||
-rw-r--r-- | share/examples/sunrpc/msg/rprintmsg.c | 12 |
5 files changed, 13 insertions, 13 deletions
diff --git a/share/examples/sunrpc/dir/dir_proc.c b/share/examples/sunrpc/dir/dir_proc.c index 9f7522a..46221a2 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 4f2d473..aa7f79f 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 80e5d95..96c1cb5 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 dde55dd..f2d5285 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 b9cb1e3..b9301de 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 |