summary refs log tree commit diff
path: root/inet/rcmd.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-11-26 17:57:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-11-26 17:57:03 +0000
commitc62603bfb1589133d46b11493e84674123274088 (patch)
treef788ece8ee81e039bc6f29ac2b7b2f1876c4e700 /inet/rcmd.c
parent4a4229213a59016e35a7abdac5cea91d4fcbb178 (diff)
downloadglibc-c62603bfb1589133d46b11493e84674123274088.tar.gz
glibc-c62603bfb1589133d46b11493e84674123274088.tar.xz
glibc-c62603bfb1589133d46b11493e84674123274088.zip
Update.
1999-11-26  Andreas Jaeger  <aj@suse.de>

	* inet/rcmd.c: Include stdlib for declaration of free.
	Declare iruserok.
Diffstat (limited to 'inet/rcmd.c')
-rw-r--r--inet/rcmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/inet/rcmd.c b/inet/rcmd.c
index c88f7ae1ef..122668da8f 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -50,11 +50,13 @@ static char sccsid[] = "@(#)rcmd.c	8.3 (Berkeley) 3/26/94";
 #include <ctype.h>
 #include <string.h>
 #include <libintl.h>
+#include <stdlib.h>
 
 
 int __ivaliduser __P ((FILE *, u_int32_t, const char *, const char *));
 static int __ivaliduser2 __P ((FILE *, u_int32_t, const char *, const char *,
 			       const char *));
+int iruserok (u_int32_t raddr, int superuser, const char *ruser, *luser);
 
 
 int