aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/login/pico-login.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/picobsd/tinyware/login/pico-login.c')
-rw-r--r--release/picobsd/tinyware/login/pico-login.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/release/picobsd/tinyware/login/pico-login.c b/release/picobsd/tinyware/login/pico-login.c
index 2df7a7dcba4a..9d3ef4cce176 100644
--- a/release/picobsd/tinyware/login/pico-login.c
+++ b/release/picobsd/tinyware/login/pico-login.c
@@ -91,24 +91,24 @@ static const char rcsid[] =
#define NI_WITHSCOPEID 0
#endif
-void badlogin __P((char *));
-void checknologin __P((void));
-void dolastlog __P((int));
-void getloginname __P((void));
-void motd __P((const char *));
-int rootterm __P((char *));
-void sigint __P((int));
-void sleepexit __P((int));
-void refused __P((char *,char *,int));
-char *stypeof __P((char *));
-void timedout __P((int));
-int login_access __P((char *, char *));
-void login_fbtab __P((char *, uid_t, gid_t));
+void badlogin(char *);
+void checknologin(void);
+void dolastlog(int);
+void getloginname(void);
+void motd(const char *);
+int rootterm(char *);
+void sigint(int);
+void sleepexit(int);
+void refused(char *,char *,int);
+char *stypeof(char *);
+void timedout(int);
+int login_access(char *, char *);
+void login_fbtab(char *, uid_t, gid_t);
#ifdef USE_PAM
-static int auth_pam __P((void));
-static int export_pam_environment __P((void));
-static int ok_to_export __P((const char *));
+static int auth_pam(void);
+static int export_pam_environment(void);
+static int ok_to_export(const char *);
static pam_handle_t *pamh = NULL;
static char **environ_pam;
@@ -123,9 +123,9 @@ static char **environ_pam;
}
#endif
-static int auth_traditional __P((void));
-extern void login __P((struct utmp *));
-static void usage __P((void));
+static int auth_traditional(void);
+extern void login(struct utmp *);
+static void usage(void);
#define TTYGRPNAME "tty" /* name of group to own ttys */
#define DEFAULT_BACKOFF 3