aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2002-10-10 00:32:55 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2002-10-10 00:32:55 +0000
commit9e9715e9c027b4626f30462d5d5d13d7adcee8e6 (patch)
tree6e1ab318782617c5c6f29e02c65199e157b74a21 /release/picobsd
parentb101411be1bac3374be7166b8eace89bb7f01d22 (diff)
downloadsrc-9e9715e9c027b4626f30462d5d5d13d7adcee8e6.tar.gz
src-9e9715e9c027b4626f30462d5d5d13d7adcee8e6.zip
de-__P()
Notes
Notes: svn path=/head/; revision=104744
Diffstat (limited to 'release/picobsd')
-rw-r--r--release/picobsd/tinyware/login/pico-login.c38
-rw-r--r--release/picobsd/tinyware/oinit/oinit.c22
-rw-r--r--release/picobsd/tinyware/passwd/pw_copy.c2
-rw-r--r--release/picobsd/tinyware/view/view.c2
4 files changed, 32 insertions, 32 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
diff --git a/release/picobsd/tinyware/oinit/oinit.c b/release/picobsd/tinyware/oinit/oinit.c
index 87b244835907..b02434a7132b 100644
--- a/release/picobsd/tinyware/oinit/oinit.c
+++ b/release/picobsd/tinyware/oinit/oinit.c
@@ -99,17 +99,17 @@ struct command {
};
/* Prototypes */
-int cd __P((char *));
-int pwd __P((char *));
-int echo __P((char *));
-int xit __P((char *));
-int set __P((char *));
-int unset __P((char *));
-int env __P((char *));
-int help __P((char *));
-int sourcer __P((char *));
-void do_command __P((int shell, char *cmdline));
-void transition_handler __P((int));
+int cd(char *);
+int pwd(char *);
+int echo(char *);
+int xit(char *);
+int set(char *);
+int unset(char *);
+int env(char *);
+int help(char *);
+int sourcer(char *);
+void do_command(int shell, char *cmdline);
+void transition_handler(int);
/* Table of built-in functions */
struct command bltins[]={
diff --git a/release/picobsd/tinyware/passwd/pw_copy.c b/release/picobsd/tinyware/passwd/pw_copy.c
index 681eea87a604..f9efa12c95ff 100644
--- a/release/picobsd/tinyware/passwd/pw_copy.c
+++ b/release/picobsd/tinyware/passwd/pw_copy.c
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
#include <pw_scan.h>
#endif
extern int pw_big_ids_warning;
-extern int pw_scan __P((char *, struct passwd *));
+extern int pw_scan(char *, struct passwd *);
#include <pw_util.h>
diff --git a/release/picobsd/tinyware/view/view.c b/release/picobsd/tinyware/view/view.c
index 1cdc0aaa2c83..2727ebe24426 100644
--- a/release/picobsd/tinyware/view/view.c
+++ b/release/picobsd/tinyware/view/view.c
@@ -48,7 +48,7 @@ extern char *optarg;
extern int optind;
/* Prototypes */
-int kbd_action __P((int x, int y, char hotkey));
+int kbd_action(int x, int y, char hotkey);
struct action {
int zoom;