aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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