[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 61/68] i386/i386at/kd.c: remove forward declarations
From: |
Marin Ramesa |
Subject: |
[PATCH 61/68] i386/i386at/kd.c: remove forward declarations |
Date: |
Fri, 29 Nov 2013 22:54:26 +0100 |
* i386/i386at/kd.c (kd_getdata, state2leds): Remove forward declarations.
* i386/i386at/kd.h (kd_getdata, state2leds): Add prototypes.
---
i386/i386at/kd.c | 6 ------
i386/i386at/kd.h | 3 +++
2 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/i386/i386at/kd.c b/i386/i386at/kd.c
index 176034e..25ed0fd 100644
--- a/i386/i386at/kd.c
+++ b/i386/i386at/kd.c
@@ -126,9 +126,6 @@ void (*kd_dsetcursor)() = charsetcursor;
/* set cursor position on displayed page */
void (*kd_dreset)() = kd_noopreset; /* prepare for reboot */
-/* forward declarations */
-unsigned char kd_getdata(), state2leds();
-
/*
* Globals used for both character-based controllers and bitmap-based
* controllers. Default is EGA.
@@ -398,7 +395,6 @@ kd_debug_put(
}
#endif /* DEBUG */
-
extern int mouse_in_use;
int old_kb_mode;
@@ -890,7 +886,6 @@ kd_resend(void)
kd_senddata(last_sent);
}
-
/*
* do_modifier:
*
@@ -1217,7 +1212,6 @@ kd_belloff(void * param)
return;
}
-
/*
* kd_bellon:
*
diff --git a/i386/i386at/kd.h b/i386/i386at/kd.h
index de3bf92..daccaa8 100644
--- a/i386/i386at/kd.h
+++ b/i386/i386at/kd.h
@@ -781,4 +781,7 @@ void bmpch2bit(csrpos_t pos, short *xb, short *yb);
void bmppaintcsr(csrpos_t pos, u_char val);
u_char *bit2fbptr(short xb, short yb);
+unsigned char kd_getdata(void);
+u_char state2leds(int state);
+
#endif /* _KD_H_ */
--
1.8.1.4
- [PATCH 48/68] vm/vm_kern.c: remove forward declarations, (continued)
- [PATCH 48/68] vm/vm_kern.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 50/68] vm/vm_pageout.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 49/68] vm/vm_map.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 52/68] vm/vm_user.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 51/68] vm/vm_resident.c: correct comment, Marin Ramesa, 2013/11/29
- [PATCH 53/68] Normalize whitespace, Marin Ramesa, 2013/11/29
- [PATCH 56/68] Remove unnecessary files, Marin Ramesa, 2013/11/29
- [PATCH 58/68] kern/time_stamp.c: remove multimax code, Marin Ramesa, 2013/11/29
- [PATCH 59/68] Type definition, Marin Ramesa, 2013/11/29
- [PATCH 60/68] device/net_io.c: remove forward declarations, Marin Ramesa, 2013/11/29
- [PATCH 61/68] i386/i386at/kd.c: remove forward declarations,
Marin Ramesa <=
- [PATCH 62/68] i386/i386at/model_dep.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 63/68] ipc/ipc_entry.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 65/68] kern/mach_clock.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 64/68] ipc/mach_port.c: remove forward declaration, Marin Ramesa, 2013/11/29
- [PATCH 66/68] ddb/db_variables.c: fix near initialization, Marin Ramesa, 2013/11/29
- [PATCH 67/68] device/ds_routines.c: fix initialization from incompatible pointer type, Marin Ramesa, 2013/11/29
- [PATCH 68/68] i386/i386at/com.h: include chips/busses.h for struct bus_device, Marin Ramesa, 2013/11/29
- [PATCH 57/68] Remove MACH_TTD code, Marin Ramesa, 2013/11/29
- [PATCH 54/68] Convert from K&R to ANSI, Marin Ramesa, 2013/11/29
- [PATCH 55/68] Declare void argument lists, Marin Ramesa, 2013/11/29