Purpose of commit: bugfix
Commit summary:
---------------
Fix code for which gcc4.1 prints warnings
if (p == NULL)
p = mod_path;
else
- *p++;
+ p++;
if ((retval = strdup (p)) == NULL)
return NULL;
}
static int
-pam_alert_prelude_init(const pam_handle_t *pamh, int authval)
+pam_alert_prelude_init(pam_handle_t *pamh, int authval)
{
int ret;
}
void
-prelude_send_alert(const pam_handle_t *pamh, int authval)
+prelude_send_alert(pam_handle_t *pamh, int authval)
{
int ret;
#include <security/_pam_types.h>
-void prelude_send_alert(const pam_handle_t *pamh, int authval);
+void prelude_send_alert(pam_handle_t *pamh, int authval);
#endif /* _SECURITY_PAM_PRELUDE_H */