From aa4ff31c8c8c5ba8a51d27428a983e457fe58278 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Wed, 3 Jan 2007 23:29:23 +0000 Subject: [PATCH] Declare iruserok if needed, based on bug report from David Love. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19652 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rshd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/appl/rsh/rshd.c b/appl/rsh/rshd.c index d60fb1a1b..90a85dff1 100644 --- a/appl/rsh/rshd.c +++ b/appl/rsh/rshd.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997-2006 Kungliga Tekniska Högskolan + * Copyright (c) 1997-2007 Kungliga Tekniska Högskolan * (Royal Institute of Technology, Stockholm, Sweden). * All rights reserved. * @@ -40,6 +40,9 @@ login_access( struct passwd *user, char *from); int read_limits_conf(const char *file, const struct passwd *pwd); +#ifndef NEED_IRUSEROK_PROTO +int iruserok(uint32_t, int, const char *, const char *); +#endif enum auth_method auth_method;