From 05a9b00ba2dad2a103b0550d1ff770c9dea41c67 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 6 Jul 2003 21:57:28 +0000 Subject: bring protos into scope --- libexec/rpc.rusersd/rusers_proc.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'libexec/rpc.rusersd/rusers_proc.c') diff --git a/libexec/rpc.rusersd/rusers_proc.c b/libexec/rpc.rusersd/rusers_proc.c index 53718e72686..477d2a6d95c 100644 --- a/libexec/rpc.rusersd/rusers_proc.c +++ b/libexec/rpc.rusersd/rusers_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rusers_proc.c,v 1.17 2002/06/30 00:21:12 deraadt Exp $ */ +/* $OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $ */ /*- * Copyright (c) 1993 John Brezak @@ -29,7 +29,7 @@ */ #ifndef lint -static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.17 2002/06/30 00:21:12 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rusers_proc.c,v 1.18 2003/07/06 21:57:27 deraadt Exp $"; #endif /* not lint */ #include @@ -62,6 +62,13 @@ ut_line_t line[MAXUSERS]; ut_name_t name[MAXUSERS]; ut_host_t host[MAXUSERS]; +int *rusers_num_svc(void *, struct svc_req *); +struct utmpidlearr *rusersproc_names_2_svc(void *, struct svc_req *); +struct utmpidlearr *rusersproc_allnames_2_svc(void *, struct svc_req *); +struct utmparr *rusersproc_names_1_svc(void *, struct svc_req *); +struct utmparr *rusersproc_allnames_1_svc(void *, struct svc_req *); +void rusers_service(struct svc_req *, SVCXPRT *); + extern int from_inetd; FILE *ufp; -- cgit v1.2.3