diff options
author | peter <peter@FreeBSD.org> | 1997-07-13 14:26:00 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1997-07-13 14:26:00 +0000 |
commit | 486333fcfd5f2cc27736d07dbf10d2cd0b6875e0 (patch) | |
tree | 7077a59ac9e4466afbe291e4338a53f05b910d1a /lib/librpc/demo/msg/msg_proc.c | |
parent | 84834b817c79cd8d5bca169e7ce1d3d1a7c24af8 (diff) | |
download | FreeBSD-src-486333fcfd5f2cc27736d07dbf10d2cd0b6875e0.zip FreeBSD-src-486333fcfd5f2cc27736d07dbf10d2cd0b6875e0.tar.gz |
kill the undead
Diffstat (limited to 'lib/librpc/demo/msg/msg_proc.c')
-rw-r--r-- | lib/librpc/demo/msg/msg_proc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/lib/librpc/demo/msg/msg_proc.c b/lib/librpc/demo/msg/msg_proc.c deleted file mode 100644 index 80e5d95..0000000 --- a/lib/librpc/demo/msg/msg_proc.c +++ /dev/null @@ -1,28 +0,0 @@ -/* @(#)msg_proc.c 2.1 88/08/11 4.0 RPCSRC */ -/* - * msg_proc.c: implementation of the remote procedure "printmessage" - */ -#include <stdio.h> -#include <rpc/rpc.h> /* always need this here */ -#include "msg.h" /* need this too: msg.h will be generated by rpcgen */ - -/* - * Remote verson of "printmessage" - */ -int * -printmessage_1(msg) - char **msg; -{ - static int result; /* must be static! */ - FILE *f; - - f = fopen("/dev/console", "w"); - if (f == NULL) { - result = 0; - return (&result); - } - fprintf(f, "%s\n", *msg); - fclose(f); - result = 1; - return (&result); -} |