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.
This commit is contained in:
parent
763df83622
commit
359052dbcc
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user