summaryrefslogtreecommitdiffstats
path: root/sys/dev/cy
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-20 07:51:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-20 07:51:46 +0000
commit728484a7457c5aef1f6a3d30a7bf3f6e215bf900 (patch)
tree30a9106ca00a2f588e91084d486ef8f073bf1b46 /sys/dev/cy
parent064c0537d11ac3c5a37db86bdd0cb077e0532f0a (diff)
downloadFreeBSD-src-728484a7457c5aef1f6a3d30a7bf3f6e215bf900.zip
FreeBSD-src-728484a7457c5aef1f6a3d30a7bf3f6e215bf900.tar.gz
Remove __P.
Diffstat (limited to 'sys/dev/cy')
-rw-r--r--sys/dev/cy/cy.c50
-rw-r--r--sys/dev/cy/cy_isa.c50
2 files changed, 50 insertions, 50 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 992dcef..ee164d8 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -344,38 +344,38 @@ struct com_s {
};
/* PCI driver entry point. */
-int cyattach_common __P((cy_addr cy_iobase, int cy_align));
+int cyattach_common (cy_addr cy_iobase, int cy_align);
ointhand2_t siointr;
-static int cy_units __P((cy_addr cy_iobase, int cy_align));
-static int sioattach __P((struct isa_device *dev));
-static void cd1400_channel_cmd __P((struct com_s *com, int cmd));
-static void cd1400_channel_cmd_wait __P((struct com_s *com));
-static void cd_etc __P((struct com_s *com, int etc));
-static int cd_getreg __P((struct com_s *com, int reg));
-static void cd_setreg __P((struct com_s *com, int reg, int val));
+static int cy_units (cy_addr cy_iobase, int cy_align);
+static int sioattach (struct isa_device *dev);
+static void cd1400_channel_cmd(struct com_s *com, int cmd);
+static void cd1400_channel_cmd_wait(struct com_s *com);
+static void cd_etc (struct com_s *com, int etc);
+static int cd_getreg (struct com_s *com, int reg);
+static void cd_setreg (struct com_s *com, int reg, int val);
static timeout_t siodtrwakeup;
-static void comhardclose __P((struct com_s *com));
-static void sioinput __P((struct com_s *com));
+static void comhardclose (struct com_s *com);
+static void sioinput (struct com_s *com);
#if 0
-static void siointr1 __P((struct com_s *com));
-#endif
-static int commctl __P((struct com_s *com, int bits, int how));
-static int comparam __P((struct tty *tp, struct termios *t));
-static void siopoll __P((void *arg));
-static int sioprobe __P((struct isa_device *dev));
-static void siosettimeout __P((void));
-static int siosetwater __P((struct com_s *com, speed_t speed));
-static int comspeed __P((speed_t speed, u_long cy_clock,
- int *prescaler_io));
-static void comstart __P((struct tty *tp));
-static void comstop __P((struct tty *tp, int rw));
+static void siointr1 (struct com_s *com);
+#endif
+static int commctl (struct com_s *com, int bits, int how);
+static int comparam (struct tty *tp, struct termios *t);
+static void siopoll (void *arg);
+static int sioprobe (struct isa_device *dev);
+static void siosettimeout (void);
+static int siosetwater (struct com_s *com, speed_t speed);
+static int comspeed (speed_t speed, u_long cy_clock,
+ int *prescaler_io);
+static void comstart (struct tty *tp);
+static void comstop (struct tty *tp, int rw);
static timeout_t comwakeup;
-static void disc_optim __P((struct tty *tp, struct termios *t,
- struct com_s *com));
+static void disc_optim (struct tty *tp, struct termios *t,
+ struct com_s *com);
#ifdef CyDebug
-void cystatus __P((int unit));
+void cystatus (int unit);
#endif
static char driver_name[] = "cy";
diff --git a/sys/dev/cy/cy_isa.c b/sys/dev/cy/cy_isa.c
index 992dcef..ee164d8 100644
--- a/sys/dev/cy/cy_isa.c
+++ b/sys/dev/cy/cy_isa.c
@@ -344,38 +344,38 @@ struct com_s {
};
/* PCI driver entry point. */
-int cyattach_common __P((cy_addr cy_iobase, int cy_align));
+int cyattach_common (cy_addr cy_iobase, int cy_align);
ointhand2_t siointr;
-static int cy_units __P((cy_addr cy_iobase, int cy_align));
-static int sioattach __P((struct isa_device *dev));
-static void cd1400_channel_cmd __P((struct com_s *com, int cmd));
-static void cd1400_channel_cmd_wait __P((struct com_s *com));
-static void cd_etc __P((struct com_s *com, int etc));
-static int cd_getreg __P((struct com_s *com, int reg));
-static void cd_setreg __P((struct com_s *com, int reg, int val));
+static int cy_units (cy_addr cy_iobase, int cy_align);
+static int sioattach (struct isa_device *dev);
+static void cd1400_channel_cmd(struct com_s *com, int cmd);
+static void cd1400_channel_cmd_wait(struct com_s *com);
+static void cd_etc (struct com_s *com, int etc);
+static int cd_getreg (struct com_s *com, int reg);
+static void cd_setreg (struct com_s *com, int reg, int val);
static timeout_t siodtrwakeup;
-static void comhardclose __P((struct com_s *com));
-static void sioinput __P((struct com_s *com));
+static void comhardclose (struct com_s *com);
+static void sioinput (struct com_s *com);
#if 0
-static void siointr1 __P((struct com_s *com));
-#endif
-static int commctl __P((struct com_s *com, int bits, int how));
-static int comparam __P((struct tty *tp, struct termios *t));
-static void siopoll __P((void *arg));
-static int sioprobe __P((struct isa_device *dev));
-static void siosettimeout __P((void));
-static int siosetwater __P((struct com_s *com, speed_t speed));
-static int comspeed __P((speed_t speed, u_long cy_clock,
- int *prescaler_io));
-static void comstart __P((struct tty *tp));
-static void comstop __P((struct tty *tp, int rw));
+static void siointr1 (struct com_s *com);
+#endif
+static int commctl (struct com_s *com, int bits, int how);
+static int comparam (struct tty *tp, struct termios *t);
+static void siopoll (void *arg);
+static int sioprobe (struct isa_device *dev);
+static void siosettimeout (void);
+static int siosetwater (struct com_s *com, speed_t speed);
+static int comspeed (speed_t speed, u_long cy_clock,
+ int *prescaler_io);
+static void comstart (struct tty *tp);
+static void comstop (struct tty *tp, int rw);
static timeout_t comwakeup;
-static void disc_optim __P((struct tty *tp, struct termios *t,
- struct com_s *com));
+static void disc_optim (struct tty *tp, struct termios *t,
+ struct com_s *com);
#ifdef CyDebug
-void cystatus __P((int unit));
+void cystatus (int unit);
#endif
static char driver_name[] = "cy";
OpenPOWER on IntegriCloud