summaryrefslogtreecommitdiffstats
path: root/lkm
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 06:12:45 +0000
commitf3a2b348daf9fa6063c38d2d69563f732a2f80e7 (patch)
tree4d38911cf1e5e1ef56a662eddcbe2f706b2e6973 /lkm
parentf05428e4cd63dde97bac14b84dd146a5c00455e3 (diff)
downloadFreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.zip
FreeBSD-src-f3a2b348daf9fa6063c38d2d69563f732a2f80e7.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'lkm')
-rw-r--r--lkm/coff/coff.c4
-rw-r--r--lkm/ibcs2/ibcs2.c4
-rw-r--r--lkm/ipfw/Makefile4
-rw-r--r--lkm/ipfw/ipfw_lkm.c4
-rw-r--r--lkm/socksys/socksys.c10
-rw-r--r--lkm/syscons/blank/blank_saver.c10
-rw-r--r--lkm/syscons/fade/fade_saver.c6
-rw-r--r--lkm/syscons/green/green_saver.c10
-rw-r--r--lkm/syscons/snake/snake_saver.c8
-rw-r--r--lkm/syscons/star/star_saver.c18
10 files changed, 39 insertions, 39 deletions
diff --git a/lkm/coff/coff.c b/lkm/coff/coff.c
index bd8656f..6a3bf9b 100644
--- a/lkm/coff/coff.c
+++ b/lkm/coff/coff.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: coff.c,v 1.1 1994/10/14 08:46:12 sos Exp $
*/
#include <sys/param.h>
diff --git a/lkm/ibcs2/ibcs2.c b/lkm/ibcs2/ibcs2.c
index c58966e..53b6136 100644
--- a/lkm/ibcs2/ibcs2.c
+++ b/lkm/ibcs2/ibcs2.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: ibcs2.c,v 1.2 1994/10/14 08:45:16 sos Exp $
*/
#include <sys/param.h>
diff --git a/lkm/ipfw/Makefile b/lkm/ipfw/Makefile
index 0c2f20c..d60aa33 100644
--- a/lkm/ipfw/Makefile
+++ b/lkm/ipfw/Makefile
@@ -1,8 +1,8 @@
-# $Id: Makefile,v 1.1 1995/01/12 13:03:01 ugen Exp $
+# $Id: Makefile,v 1.2 1995/01/12 13:57:51 ugen Exp $
.PATH: ${.CURDIR}/../../sys/netinet
KMOD= ipfw_mod
-SRCS= ipfw_lkm.c ip_fw.c
+SRCS= ipfw_lkm.c ip_fw.c
NOMAN=
CFLAGS+= -DIPFIREWALL -DIPACCT
#
diff --git a/lkm/ipfw/ipfw_lkm.c b/lkm/ipfw/ipfw_lkm.c
index cf8e081..73b02a5 100644
--- a/lkm/ipfw/ipfw_lkm.c
+++ b/lkm/ipfw/ipfw_lkm.c
@@ -22,7 +22,7 @@
#include <sys/protosw.h>
#include <sys/socket.h>
#include <sys/errno.h>
-#include <sys/time.h>
+#include <sys/time.h>
#include <sys/kernel.h>
#include <sys/conf.h>
#include <sys/exec.h>
@@ -73,7 +73,7 @@ ipfw_unload(struct lkm_table *lkmtp, int cmd)
int s=splnet();
#ifdef IPFIREWALL
ip_fw_ctl_ptr=NULL;
- ip_fw_chk_ptr=NULL;
+ ip_fw_chk_ptr=NULL;
#endif
#ifdef IPACCT
ip_acct_ctl_ptr=NULL;
diff --git a/lkm/socksys/socksys.c b/lkm/socksys/socksys.c
index 3527eff..59d9aa2 100644
--- a/lkm/socksys/socksys.c
+++ b/lkm/socksys/socksys.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: socksys.c,v 1.1 1994/10/16 20:38:50 sos Exp $
+ * $Id: socksys.c,v 1.2 1995/01/24 04:22:19 bde Exp $
*/
#include <sys/param.h>
@@ -40,12 +40,12 @@ int sockopen();
int sockclose();
int sockioctl();
-struct cdevsw dev_socksys = {
- (d_open_t *)sockopen, (d_close_t *)sockclose,
+struct cdevsw dev_socksys = {
+ (d_open_t *)sockopen, (d_close_t *)sockclose,
(d_rdwr_t *)enodev, (d_rdwr_t *)enodev,
(d_ioctl_t *)sockioctl, (d_stop_t *)enodev,
(d_reset_t *)nullop, NULL,
- (d_select_t *)seltrue, (d_mmap_t *)enodev,
+ (d_select_t *)seltrue, (d_mmap_t *)enodev,
NULL
};
diff --git a/lkm/syscons/blank/blank_saver.c b/lkm/syscons/blank/blank_saver.c
index 9362c0b..e48e037 100644
--- a/lkm/syscons/blank/blank_saver.c
+++ b/lkm/syscons/blank/blank_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: blank_saver.c,v 1.1 1995/02/22 13:45:30 sos Exp $
*/
#include <sys/param.h>
@@ -42,17 +42,17 @@ MOD_MISC("blank_saver")
void (*current_saver)();
void (*old_saver)();
-static void
+static void
blank_saver(int blank)
{
u_char val;
if (blank) {
scrn_blanked = 1;
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val | 0x20);
}
else {
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val & 0xDF);
scrn_blanked = 0;
}
diff --git a/lkm/syscons/fade/fade_saver.c b/lkm/syscons/fade/fade_saver.c
index a58eaa0..e639fca 100644
--- a/lkm/syscons/fade/fade_saver.c
+++ b/lkm/syscons/fade/fade_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: fade_saver.c,v 1.1 1995/02/22 13:46:32 sos Exp $
*/
#include <sys/param.h>
@@ -42,7 +42,7 @@ MOD_MISC("fade_saver")
void (*current_saver)();
void (*old_saver)();
-static void
+static void
fade_saver(int blank)
{
static int count = 0;
diff --git a/lkm/syscons/green/green_saver.c b/lkm/syscons/green/green_saver.c
index e6ed074..8dfe086 100644
--- a/lkm/syscons/green/green_saver.c
+++ b/lkm/syscons/green/green_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id$
+ * $Id: green_saver.c,v 1.1 1995/02/22 13:47:14 sos Exp $
*/
#include <sys/param.h>
@@ -42,19 +42,19 @@ MOD_MISC("green_saver")
void (*current_saver)();
void (*old_saver)();
-static void
+static void
green_saver(int blank)
{
u_char val;
if (blank) {
scrn_blanked = 1;
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val | 0x20);
outb(crtc_addr, 0x17); val = inb(crtc_addr + 1);
outb(crtc_addr + 1, val & ~0x80);
}
else {
- outb(TSIDX, 0x01); val = inb(TSREG);
+ outb(TSIDX, 0x01); val = inb(TSREG);
outb(TSIDX, 0x01); outb(TSREG, val & 0xDF);
outb(crtc_addr, 0x17); val = inb(crtc_addr + 1);
outb(crtc_addr + 1, val | 0x80);
diff --git a/lkm/syscons/snake/snake_saver.c b/lkm/syscons/snake/snake_saver.c
index e2c970c..c7deb6b 100644
--- a/lkm/syscons/snake/snake_saver.c
+++ b/lkm/syscons/snake/snake_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: snake_saver.c,v 1.2 1995/03/30 15:10:20 sos Exp $
+ * $Id: snake_saver.c,v 1.3 1995/05/16 19:10:11 sos Exp $
*/
#include <sys/param.h>
@@ -42,7 +42,7 @@ MOD_MISC("snake_saver")
void (*current_saver)();
void (*old_saver)();
-static void
+static void
snake_saver(int blank)
{
const char saves[] = {"FreeBSD-2.0.5"};
@@ -70,7 +70,7 @@ snake_saver(int blank)
outb(crtc_addr+1, f & 0xff);
scrn_blanked = 1;
}
- if (scrn_blanked++ < 4)
+ if (scrn_blanked++ < 4)
return;
scrn_blanked = 1;
*(savs[sizeof(saves)-2]) = scr_map[0x20];
diff --git a/lkm/syscons/star/star_saver.c b/lkm/syscons/star/star_saver.c
index d6d0319..d023228 100644
--- a/lkm/syscons/star/star_saver.c
+++ b/lkm/syscons/star/star_saver.c
@@ -6,7 +6,7 @@
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer
+ * notice, this list of conditions and the following disclaimer
* in this position and unchanged.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: star_saver.c,v 1.1 1995/02/22 13:47:36 sos Exp $
+ * $Id: star_saver.c,v 1.2 1995/03/30 15:10:03 sos Exp $
*/
#include <sys/param.h>
@@ -48,31 +48,31 @@ void (*old_saver)();
* Alternate saver that got its inspiration from a well known utility
* package for an inferior^H^H^H^H^H^Hfamous OS.
*/
-void
+void
star_saver(int blank)
{
scr_stat *scp = cur_console;
int cell, i;
char pattern[] = {"...........++++*** "};
- char colors[] = {FG_DARKGREY, FG_LIGHTGREY,
+ char colors[] = {FG_DARKGREY, FG_LIGHTGREY,
FG_WHITE, FG_LIGHTCYAN};
static u_short stars[NUM_STARS][2];
-
+
if (blank) {
if (!scrn_blanked) {
scrn_blanked = 1;
- fillw((FG_LIGHTGREY|BG_BLACK)<<8|scr_map[0x20], Crtat,
+ fillw((FG_LIGHTGREY|BG_BLACK)<<8|scr_map[0x20], Crtat,
scp->xsize * scp->ysize);
set_border(0);
for(i=0; i<NUM_STARS; i++) {
- stars[i][0] =
+ stars[i][0] =
random() % (scp->xsize*scp->ysize);
stars[i][1] = 0;
}
}
cell = random() % NUM_STARS;
- *((u_short*)(Crtat + stars[cell][0])) =
- scr_map[pattern[stars[cell][1]]] |
+ *((u_short*)(Crtat + stars[cell][0])) =
+ scr_map[pattern[stars[cell][1]]] |
colors[random()%sizeof(colors)] << 8;
if ((stars[cell][1]+=(random()%4)) >= sizeof(pattern)-1) {
stars[cell][0] = random() % (scp->xsize*scp->ysize);
OpenPOWER on IntegriCloud