summaryrefslogtreecommitdiff
path: root/modules/pam_group/pam_group.c
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-05-01 19:20:12 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-05-03 12:21:11 +0000
commit37b5259298be9137f5b40eef16027152ddb803ff (patch)
tree009945b3b4e87f180d58bfe99d21a1b9e27f7c13 /modules/pam_group/pam_group.c
parent1de9239b810a8aeab50a12048ae4b2f1256b11ea (diff)
modules: remove PAM_SM_* macros
Starting with commit a684595c0bbd88df71285f43fb27630e3829121e aka Linux-PAM-1.3.0~14 (Remove "--enable-static-modules" option and support from Linux-PAM), PAM_SM_* macros have no effect.
Diffstat (limited to 'modules/pam_group/pam_group.c')
-rw-r--r--modules/pam_group/pam_group.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/modules/pam_group/pam_group.c b/modules/pam_group/pam_group.c
index 2172a0b5..b5532b81 100644
--- a/modules/pam_group/pam_group.c
+++ b/modules/pam_group/pam_group.c
@@ -1,6 +1,6 @@
-/* pam_group module */
-
/*
+ * pam_group module
+ *
* Written by Andrew Morgan <morgan@linux.kernel.org> 1996/7/6
* Field parsing rewritten by Tomas Mraz <tm@t8m.info>
*/
@@ -35,15 +35,6 @@
typedef enum { AND, OR } operator;
-/*
- * here, we make definitions for the externally accessible functions
- * in this file (these definitions are required for static modules
- * but strongly encouraged generally) they are used to instruct the
- * modules include file to define their prototypes.
- */
-
-#define PAM_SM_AUTH
-
#include <security/pam_modules.h>
#include <security/_pam_macros.h>
#include <security/pam_modutil.h>