about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog5
-rw-r--r--inet/rcmd.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 43517638e3..68975eca93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-11-26  Andreas Jaeger  <aj@suse.de>
+
+	* inet/rcmd.c: Include stdlib for declaration of free.
+	Declare iruserok.
+
 1999-11-25  Ulrich Drepper  <drepper@cygnus.com>
 
 	* iconv/gconv.c (__gconv): Always initialize
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