diff options
Diffstat (limited to 'vxi11_svc.c')
-rw-r--r-- | vxi11_svc.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/vxi11_svc.c b/vxi11_svc.c index 0db5020..29d63d7 100644 --- a/vxi11_svc.c +++ b/vxi11_svc.c @@ -1,8 +1,3 @@ -/* - * Please do not edit this file. - * It was generated using rpcgen. - */ - #include "vxi11.h" #include <stdio.h> #include <stdlib.h> @@ -236,8 +231,11 @@ device_intr_1(struct svc_req *rqstp, register SVCXPRT *transp) return; } -int vxi_main () +void vxi_main () { + + printf("VXI service started\n"); + register SVCXPRT *transp; pmap_unset (DEVICE_ASYNC, DEVICE_ASYNC_VERSION); @@ -282,6 +280,4 @@ int vxi_main () svc_run (); fprintf (stderr, "%s", "svc_run returned"); - exit (1); - /* NOTREACHED */ } |