/*
 * This is sample code generated by rpcgen.
 * These are only templates and you can use them
 * as a guideline for developing your own functions.
 */

#include "mc.h"

int *
add_1_svc(mypair *argp, struct svc_req *rqstp)
{
	static int  result;

	/* Start of inserted code */
	result = argp->arg1 + argp->arg2;
	/* End of inserted code */

	return &result;
}

int *
subtract_1_svc(mypair *argp, struct svc_req *rqstp)
{
	static int  result;

	/* Start of inserted code */
	result = argp->arg1 - argp->arg2;
	/* End of inserted code */

	return &result;
}

