summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew G. Morgan <morgan@kernel.org>2002-06-27 05:54:05 +0000
committerAndrew G. Morgan <morgan@kernel.org>2002-06-27 05:54:05 +0000
commitcda1a99dcb3ef18f21bc5cb2b3994e160ec51118 (patch)
tree09d0c5bbcd1d0d1e4eb0ccc4dc02a9077f77d782
parent76a61ebb3b1a2500b6eb457d6725cc8f4568d2d8 (diff)
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.)
-rw-r--r--CHANGELOG2
-rw-r--r--modules/pam_access/pam_access.c2
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 <stdio.h>
#include <stdlib.h>
#include <unistd.h>
-/* man page says above file includes this... */
-extern int gethostname(char *name, size_t len);
#include <stdarg.h>
#include <syslog.h>