#else /* !USE_PAM */
static void check_perms_nopam (const struct passwd *pw);
#endif /* !USE_PAM */
-static void save_caller_context (char **argv);
+static void save_caller_context(void);
static void process_flags (int argc, char **argv);
static void set_environment (struct passwd *pw);
return pw;
}
+
/*
* save_caller_context - save information from the call context
*
* the TTY (ttyp), and whether su was called from a console
* (is_console) for further processing and before they might change.
*/
-static void save_caller_context (char **argv)
+static void
+save_caller_context(void)
{
struct passwd *pw = NULL;
#ifndef USE_PAM
pw_free (pw);
}
+
/*
* process_flags - Process the command line arguments
*
(void) bindtextdomain (PACKAGE, LOCALEDIR);
(void) textdomain (PACKAGE);
- save_caller_context (argv);
+ save_caller_context();
OPENLOG (Prog);