]> arthur.barton.de Git - netatalk.git/commitdiff
Identify modules as uams_pam as well as uams_clrtxt.
authorsrittau <srittau>
Sat, 10 Nov 2001 18:30:21 +0000 (18:30 +0000)
committersrittau <srittau>
Sat, 10 Nov 2001 18:30:21 +0000 (18:30 +0000)
Removed #ifdef USE_PAM guards. This is now handled by the Makefile.

etc/uams/uams_pam.c

index 8c96043b8195770920d8f3e8dd4fe31225aa1e3e..ab6f765bffdfb705ee81c202aaaf665b6f38aca0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: uams_pam.c,v 1.8 2001-09-06 20:00:59 rufustfirefly Exp $
+ * $Id: uams_pam.c,v 1.9 2001-11-10 18:30:21 srittau Exp $
  *
  * Copyright (c) 1990,1993 Regents of The University of Michigan.
  * Copyright (c) 1999 Adrian Sun (asun@u.washington.edu) 
@@ -10,8 +10,6 @@
 #include "config.h"
 #endif /* HAVE_CONFIG_H */
 
-#ifdef USE_PAM
-
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_UNISTD_H
@@ -412,4 +410,8 @@ UAM_MODULE_EXPORT struct uam_export uams_clrtxt = {
   uam_setup, uam_cleanup
 };
 
-#endif /* USE_PAM */
+UAM_MODULE_EXPORT struct uam_export uams_pam = {
+  UAM_MODULE_SERVER,
+  UAM_MODULE_VERSION,
+  uam_setup, uam_cleanup
+};