From cda1a99dcb3ef18f21bc5cb2b3994e160ec51118 Mon Sep 17 00:00:00 2001 From: "Andrew G. Morgan" Date: Thu, 27 Jun 2002 05:54:05 +0000 Subject: [PATCH] Relevant BUGIDs: 415423 Purpose of commit: cleanup Commit summary: --------------- Shouldn't explicitly include prototype in the file - it conflicts with common defaults and thus should not be there. (Request for removal from David Lee.) --- CHANGELOG | 2 ++ modules/pam_access/pam_access.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 4e2eae94..085abc87 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -55,6 +55,8 @@ bug report - outstanding bugs are listed here: 0.76: please submit patches for this section with actual code/doc patches! +* pam_access no longer include gethostname() prototype complained from + David Lee (Bug 415423 - agmorgan). * make pam_nologin more secure by default, added two new module arguments etc. - acting on suggestion from Nico (Bug 419307 - agmorgan) diff --git a/modules/pam_access/pam_access.c b/modules/pam_access/pam_access.c index 68a137ca..4005c93b 100644 --- a/modules/pam_access/pam_access.c +++ b/modules/pam_access/pam_access.c @@ -30,8 +30,6 @@ #include #include #include -/* man page says above file includes this... */ -extern int gethostname(char *name, size_t len); #include #include -- 2.40.0