This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Inetutils ".

The branch, master has been updated
       via  f466f95523cc06aa53e5f23cbfbdb741641540c4 (commit)
      from  1920dca82827a2b4316434a20883242cf4b5d5df (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/inetutils.git/commit/?id=f466f95523cc06aa53e5f23cbfbdb741641540c4


commit f466f95523cc06aa53e5f23cbfbdb741641540c4
Author: Giuseppe Scrivano <[email protected]>
Date:   Mon Mar 15 03:42:05 2010 +0100

    rshd: declare iruserok extern only under glibc.

diff --git a/ChangeLog b/ChangeLog
index 4fb0251..38296ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2010-03-15  Giuseppe Scrivano  <[email protected]>
 
+       * src/rshd.c (iruserok): declare extern only under glibc.
+
        * src/rlogind.c: Include pty.h only if HAVE_PTY_H is defined.
        (iruserok): declare extern only under glibc.
 
diff --git a/src/rshd.c b/src/rshd.c
index 6d25d6f..3df9938 100644
--- a/src/rshd.c
+++ b/src/rshd.c
@@ -174,8 +174,10 @@ static struct argp_option options[] = {
 
 extern int __check_rhosts_file;        /* hook in rcmd(3) */
 
+#ifdef __GLIBC__
 extern int iruserok (uint32_t raddr, int superuser,
                      const char *ruser, const char *luser);
+#endif
 
 static error_t
 parse_opt (int key, char *arg, struct argp_state *state)

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog  |    2 ++
 src/rshd.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU Inetutils 


_______________________________________________
Commit-inetutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-inetutils

Reply via email to