#ifndef lint
static char *rcsid_sms_query_c = "$Header$";
-#endif lint
+#endif
#include <mit-copyright.h>
#include "mr_private.h"
#include <string.h>
+#include <stdlib.h>
/*
* This routine is the primary external interface to the mr library.
* It builds a new argument vector with the query handle prepended,
* and calls mr_query_internal.
*/
-int level = 0;
+static int level = 0;
int mr_query(name, argc, argv, callproc, callarg)
char *name; /* Query name */