summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-03-23 12:13:34 +0000
committerbde <bde@FreeBSD.org>2002-03-23 12:13:34 +0000
commitd28168db048670ce4d3a2fccc387d0cb65bf1464 (patch)
tree0929a636bdbc681dd28614a5913eec0dc8d95d33 /sys/dev
parentf8611316d9b3a8d7d85e83a81e588a71e819584e (diff)
downloadFreeBSD-src-d28168db048670ce4d3a2fccc387d0cb65bf1464.zip
FreeBSD-src-d28168db048670ce4d3a2fccc387d0cb65bf1464.tar.gz
Fixed some style bugs in the removal of __P(()). The main ones were
not removing tabs before "__P((", and not outdenting continuation lines to preserve non-KNF lining up of code with parentheses. Switch to KNF formatting and/or rewrap the whole prototype in some cases.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sio/sio.c36
-rw-r--r--sys/dev/sio/sio_isa.c4
2 files changed, 20 insertions, 20 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index b2e75d9..fa2d698 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -271,26 +271,26 @@ struct com_s {
};
#ifdef COM_ESP
-static int espattach (struct com_s *com, Port_t esp_port);
+static int espattach(struct com_s *com, Port_t esp_port);
#endif
static timeout_t siobusycheck;
-static u_int siodivisor (u_long rclk, speed_t speed);
+static u_int siodivisor(u_long rclk, speed_t speed);
static timeout_t siodtrwakeup;
-static void comhardclose (struct com_s *com);
-static void sioinput (struct com_s *com);
-static void siointr1 (struct com_s *com);
-static void siointr (void *arg);
-static int commctl (struct com_s *com, int bits, int how);
-static int comparam (struct tty *tp, struct termios *t);
-static void siopoll (void *);
-static void siosettimeout (void);
-static int siosetwater (struct com_s *com, speed_t speed);
-static void comstart (struct tty *tp);
-static void comstop (struct tty *tp, int rw);
+static void comhardclose(struct com_s *com);
+static void sioinput(struct com_s *com);
+static void siointr1(struct com_s *com);
+static void siointr(void *arg);
+static int commctl(struct com_s *com, int bits, int how);
+static int comparam(struct tty *tp, struct termios *t);
+static void siopoll(void *);
+static void siosettimeout(void);
+static int siosetwater(struct com_s *com, speed_t speed);
+static void comstart(struct tty *tp);
+static void comstop(struct tty *tp, int rw);
static timeout_t comwakeup;
-static void disc_optim (struct tty *tp, struct termios *t,
- struct com_s *com);
+static void disc_optim(struct tty *tp, struct termios *t,
+ struct com_s *com);
char sio_driver_name[] = "sio";
static struct mtx sio_lock;
@@ -2705,9 +2705,9 @@ struct siocnstate {
#ifndef __alpha__
static speed_t siocngetspeed(Port_t, u_long rclk);
#endif
-static void siocnclose (struct siocnstate *sp, Port_t iobase);
-static void siocnopen (struct siocnstate *sp, Port_t iobase, int speed);
-static void siocntxwait (Port_t iobase);
+static void siocnclose(struct siocnstate *sp, Port_t iobase);
+static void siocnopen(struct siocnstate *sp, Port_t iobase, int speed);
+static void siocntxwait(Port_t iobase);
#ifdef __alpha__
int siocnattach(int port, int speed);
diff --git a/sys/dev/sio/sio_isa.c b/sys/dev/sio/sio_isa.c
index e1a3917..91ea9b9 100644
--- a/sys/dev/sio/sio_isa.c
+++ b/sys/dev/sio/sio_isa.c
@@ -43,8 +43,8 @@
#include <isa/isareg.h>
#include <isa/isavar.h>
-static int sio_isa_attach (device_t dev);
-static int sio_isa_probe (device_t dev);
+static int sio_isa_attach(device_t dev);
+static int sio_isa_probe(device_t dev);
static device_method_t sio_isa_methods[] = {
/* Device interface */
OpenPOWER on IntegriCloud