summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rpc.bootparamd
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-01-17 07:10:42 +0000
committermillert <millert@openbsd.org>1997-01-17 07:10:42 +0000
commit180acc8f08201633decf63424d1317ede80af916 (patch)
treeb64a266b7ea344cb2be4663edaffe52d9eb8de8c /usr.sbin/rpc.bootparamd
parentlite2 daily + our changes. We can remove old tmp files now that fts(3) (diff)
downloadwireguard-openbsd-180acc8f08201633decf63424d1317ede80af916.tar.xz
wireguard-openbsd-180acc8f08201633decf63424d1317ede80af916.zip
r?index -> strr?chr
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index b92c72966b6..8a6fc90fa5f 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -6,7 +6,7 @@
* Various small changes by Theo de Raadt <deraadt@fsa.ca>
* Parser rewritten (adding YP support) by Roland McGrath <roland@frob.com>
*
- * $Id: bootparamd.c,v 1.5 1996/12/10 15:13:31 deraadt Exp $
+ * $Id: bootparamd.c,v 1.6 1997/01/17 07:14:26 millert Exp $
*/
#include <sys/types.h>
@@ -64,7 +64,6 @@ main(argc, argv)
{
SVCXPRT *transp;
int i, s, pid;
- char *rindex();
struct hostent *he;
struct stat buf;
char *optstring;
@@ -204,7 +203,7 @@ bootparamproc_getfile_1_svc(getfile, rqstp)
bp_getfile_arg *getfile;
struct svc_req *rqstp;
{
- char *where, *index();
+ char *where;
static bp_getfile_res res;
int err;