summaryrefslogtreecommitdiffstats
path: root/usr.bin/login/login.h
diff options
context:
space:
mode:
authorcsjp <csjp@FreeBSD.org>2006-12-13 06:13:32 +0000
committercsjp <csjp@FreeBSD.org>2006-12-13 06:13:32 +0000
commit1315da38ef063c63141ef76201707daea8140c63 (patch)
tree767fd550a2d64bab44f513680d367afa1a9f05ab /usr.bin/login/login.h
parenta6c5f77bf8c1acd4de1a629e577be8a67d9ec27f (diff)
downloadFreeBSD-src-1315da38ef063c63141ef76201707daea8140c63.zip
FreeBSD-src-1315da38ef063c63141ef76201707daea8140c63.tar.gz
Teach login(1) about the make.conf NO_AUDIT variable. This allows us to
conditionally build in audit support. Submitted by: bz MFC after: 1 week
Diffstat (limited to 'usr.bin/login/login.h')
-rw-r--r--usr.bin/login/login.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/login/login.h b/usr.bin/login/login.h
index 0b33592..9d1b921 100644
--- a/usr.bin/login/login.h
+++ b/usr.bin/login/login.h
@@ -27,8 +27,10 @@
void login_fbtab(char *, uid_t, gid_t);
+#ifdef USE_BSM_AUDIT
void au_login_success(void);
void au_login_fail(char *errmsg, int na);
+#endif
extern char **environ;
extern struct passwd *pwd;
OpenPOWER on IntegriCloud