diff options
author | des <des@FreeBSD.org> | 2002-02-01 22:25:07 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-02-01 22:25:07 +0000 |
commit | 2bbcd38b91752d44ac87edf3f4086eaaa13b165a (patch) | |
tree | c03e6c20349d9b3742abdb0b77e64b29173ddab1 | |
parent | 47aa5e488c0cb1646cd15f239ccb44c0ab05d258 (diff) | |
download | FreeBSD-src-2bbcd38b91752d44ac87edf3f4086eaaa13b165a.zip FreeBSD-src-2bbcd38b91752d44ac87edf3f4086eaaa13b165a.tar.gz |
Post-repocopy cleanup.
Sponsored by: DARPA, NAI Labs
-rw-r--r-- | lib/libpam/modules/pam_login_access/Makefile | 3 | ||||
-rw-r--r-- | lib/libpam/modules/pam_login_access/login_access.c | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/libpam/modules/pam_login_access/Makefile b/lib/libpam/modules/pam_login_access/Makefile index 280db96..1425123 100644 --- a/lib/libpam/modules/pam_login_access/Makefile +++ b/lib/libpam/modules/pam_login_access/Makefile @@ -27,9 +27,6 @@ LIB= pam_login_access SHLIB_NAME= pam_login_access.so SRCS= pam_login_access.c login_access.c -CFLAGS+= -DLOGIN_ACCESS MAN= pam_login_access.8 .include <bsd.lib.mk> - -.PATH: ${.CURDIR}/../../../../usr.bin/login diff --git a/lib/libpam/modules/pam_login_access/login_access.c b/lib/libpam/modules/pam_login_access/login_access.c index 3a98d02..ff2a5e5 100644 --- a/lib/libpam/modules/pam_login_access/login_access.c +++ b/lib/libpam/modules/pam_login_access/login_access.c @@ -7,7 +7,6 @@ * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. */ -#ifdef LOGIN_ACCESS #if 0 #ifndef lint static char sccsid[] = "%Z% %M% %I% %E% %U%"; @@ -27,8 +26,7 @@ __FBSDID("$FreeBSD$"); #include <syslog.h> #include <unistd.h> -#include "login.h" -#include "pathnames.h" +#define _PATH_LOGACCESS "/etc/login.access" /* Delimiters for fields and for lists of users, ttys or hosts. */ @@ -236,4 +234,3 @@ const char *string; } return (NO); } -#endif /* LOGIN_ACCES */ |