Various typos in comments (neccessary, sceme, choise, ...).

This commit is contained in:
wiz 2001-07-26 15:05:07 +00:00
parent 047d7307f1
commit 30b2bf87ed
20 changed files with 47 additions and 47 deletions

View File

@ -1,9 +1,9 @@
/* $NetBSD: expand.h,v 1.3 1999/10/20 15:09:59 hubertf Exp $ */
/* $NetBSD: expand.h,v 1.4 2001/07/26 15:05:07 wiz Exp $ */
/*
* Expanding strings
*/
/* $Id: expand.h,v 1.3 1999/10/20 15:09:59 hubertf Exp $ */
/* $Id: expand.h,v 1.4 2001/07/26 15:05:07 wiz Exp $ */
#define X_EXTRA 8 /* this many extra bytes in X string */
@ -13,7 +13,7 @@
Xinit(xs, xp, 128, ATEMP); /* allocate initial string */
while ((c = generate()) {
Xcheck(xs, xp); /* expand string if neccessary */
Xcheck(xs, xp); /* expand string if necessary */
Xput(xs, xp, c); /* add character */
}
return Xclose(xs, xp); /* resize string */

View File

@ -1,4 +1,4 @@
/* $NetBSD: getnetconfig.c,v 1.6 2001/01/25 22:50:56 jdolecek Exp $ */
/* $NetBSD: getnetconfig.c,v 1.7 2001/07/26 15:05:08 wiz Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@ -660,7 +660,7 @@ static struct netconfig *
* adjust some of the member pointer to a pre-allocated buffer where
* contains part of the data.
* To follow the convention used in parse_ncp(), we store all the
* neccessary information in the pre-allocated buffer and let each
* necessary information in the pre-allocated buffer and let each
* of the netconfig char pointer member point to the right address
* in the buffer.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.6 1998/10/06 14:31:58 ws Exp $ */
/* $NetBSD: boot.c,v 1.7 2001/07/26 15:05:08 wiz Exp $ */
/*
* Copyright (C) 1995, 1997 Wolfgang Solfrank
@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: boot.c,v 1.6 1998/10/06 14:31:58 ws Exp $");
__RCSID("$NetBSD: boot.c,v 1.7 2001/07/26 15:05:08 wiz Exp $");
#endif /* not lint */
#include <stdlib.h>
@ -261,7 +261,7 @@ writefsinfo(dosfs, boot)
* correctly, it has to be fixed pretty often.
*
* Therefor, we handle the FSINFO block only informally,
* fixing it if neccessary, but otherwise ignoring the
* fixing it if necessary, but otherwise ignoring the
* fact that it was incorrect.
*/
return 0;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ext.h,v 1.8 2001/04/06 16:52:41 wiz Exp $ */
/* $NetBSD: ext.h,v 1.9 2001/07/26 15:05:08 wiz Exp $ */
/*
* Copyright (C) 1995, 1996, 1997 Wolfgang Solfrank
@ -94,7 +94,7 @@ int readfat __P((int, struct bootblock *, int, struct fatEntry **));
/*
* Check two FAT copies for consistency and merge changes into the
* first if neccessary.
* first if necessary.
*/
int comparefat __P((struct bootblock *, struct fatEntry *, struct fatEntry *, int));

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_rh.c,v 1.29 1999/03/25 23:19:59 is Exp $ */
/* $NetBSD: grf_rh.c,v 1.30 2001/07/26 15:05:08 wiz Exp $ */
/*
* Copyright (c) 1994 Markus Wild
@ -100,7 +100,7 @@ extern unsigned char kernel_font_8x11[];
* graphics-board manufactured by MS MacroSystem GmbH from within NetBSD
* for the Amiga.
*
* Thanks to MacroSystem for providing me with the neccessary information
* Thanks to MacroSystem for providing me with the necessary information
* to create theese routines. The sparse documentation of this code
* results from the agreements between MS and me.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_rt.c,v 1.37 1999/03/25 23:20:00 is Exp $ */
/* $NetBSD: grf_rt.c,v 1.38 2001/07/26 15:05:08 wiz Exp $ */
/*
* Copyright (c) 1993 Markus Wild
@ -73,7 +73,7 @@ int retina_inited;
* This code offers low-level routines to access the Retina graphics-board
* manufactured by MS MacroSystem GmbH from within NetBSD for the Amiga.
*
* Thanks to MacroSystem for providing me with the neccessary information
* Thanks to MacroSystem for providing me with the necessary information
* to create theese routines. The sparse documentation of this code
* results from the agreements between MS and me.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_rtreg.h,v 1.9 2000/03/13 23:52:27 soren Exp $ */
/* $NetBSD: grf_rtreg.h,v 1.10 2001/07/26 15:05:08 wiz Exp $ */
/*
* Copyright (c) 1993 Markus Wild
@ -49,7 +49,7 @@
* This code offers low-level routines to access the Retina graphics-board
* manufactured by MS MacroSystem GmbH from within NetBSD for the Amiga.
*
* Thanks to MacroSystem for providing me with the neccessary information
* Thanks to MacroSystem for providing me with the necessary information
* to create theese routines. The sparse documentation of this code
* results from the agreements between MS and me.
*/

View File

@ -1,5 +1,5 @@
#
# $NetBSD: MILAN-ISAIDE,v 1.4 2001/07/09 14:01:10 leo Exp $
# $NetBSD: MILAN-ISAIDE,v 1.5 2001/07/26 15:05:09 wiz Exp $
#
# This file was automatically created. Changes will be
# lost when running makeconf in this directory.
@ -218,7 +218,7 @@ fdisa0 at fdcisa0 drive 0
#swap the bytelanes on the IDE controller. So all data on the disk was
#byteswapped and all CDROM drivers had to byteswap the data to make
#this nice idea work... To remain compatible with the 'current' drivers,
#this sceme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
#this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
#however, the change was reverted. But... now the hardware is connected to
#a little endian (ISA) bus, in PIO mode this is essentially the same as
#swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode

View File

@ -1,5 +1,5 @@
#
# $NetBSD: MILAN-PCIIDE,v 1.4 2001/07/09 14:01:10 leo Exp $
# $NetBSD: MILAN-PCIIDE,v 1.5 2001/07/26 15:05:09 wiz Exp $
#
# This file was automatically created. Changes will be
# lost when running makeconf in this directory.
@ -218,7 +218,7 @@ fdisa0 at fdcisa0 drive 0
#swap the bytelanes on the IDE controller. So all data on the disk was
#byteswapped and all CDROM drivers had to byteswap the data to make
#this nice idea work... To remain compatible with the 'current' drivers,
#this sceme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
#this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
#however, the change was reverted. But... now the hardware is connected to
#a little endian (ISA) bus, in PIO mode this is essentially the same as
#swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode

View File

@ -1,5 +1,5 @@
#
# $NetBSD: MILAN.in,v 1.6 2001/06/07 07:56:57 leo Exp $
# $NetBSD: MILAN.in,v 1.7 2001/07/26 15:05:09 wiz Exp $
#
# Milan
#
@ -53,7 +53,7 @@ fdisa0 at fdcisa0 drive 0
# swap the bytelanes on the IDE controller. So all data on the disk was
# byteswapped and all CDROM drivers had to byteswap the data to make
# this nice idea work... To remain compatible with the 'current' drivers,
# this sceme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
# this scheme was adopted by the Hades hardware (hence wdc_mb.c). On the Milan
# however, the change was reverted. But... now the hardware is connected to
# a little endian (ISA) bus, in PIO mode this is essentially the same as
# swapping the bytelanes. The fun starts when you use the PCIIDE DMA mode

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.26 2001/06/18 11:23:00 wiz Exp $ */
/* $NetBSD: clock.c,v 1.27 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -122,7 +122,7 @@ static int divisor; /* Systemclock divisor */
static int statvar = 32; /* {stat,prof}clock variance */
static int statmin; /* statclock divisor - variance/2 */
static int profmin; /* profclock divisor - variance/2 */
static int clk2min; /* current, from above choises */
static int clk2min; /* current, from above choices */
#endif
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_le_vme.c,v 1.12 2001/05/30 12:28:41 mrg Exp $ */
/* $NetBSD: if_le_vme.c,v 1.13 2001/07/26 15:05:09 wiz Exp $ */
/*-
* Copyright (c) 1998 maximum entropy. All rights reserved.
@ -287,7 +287,7 @@ bus_space_handle_t *memh;
/*
* Interrupt mess. Because the card's interrupt is hardwired to either
* ipl5 or ipl3 (mostly on ipl5) and raising splnet to spl5() just won't do
* (it kills the serial at the least), we use a 2-level interrupt sceme. The
* (it kills the serial at the least), we use a 2-level interrupt scheme. The
* card interrupt is routed to 'le_intr'. If the previous ipl was below
* splnet, just call the mi-function. If not, save the interrupt status,
* turn off card interrupts (the card is *very* persistent) and arrange

View File

@ -1,4 +1,4 @@
/* $NetBSD: data.h,v 1.2 2000/05/20 13:35:07 ragge Exp $ */
/* $NetBSD: data.h,v 1.3 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1995 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -64,7 +64,7 @@ struct bqo {
long umr_tmpl; /* 4 UNIBUS map register template */
/* offset: 60 */
/*
* the rest is unknown / unneccessary ...
* the rest is unknown / unnecessary ...
*/
long xxx[6]; /* 24 -- total: 84 bytes */
};

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdc9224.c,v 1.15 2001/04/12 18:34:56 thorpej Exp $ */
/* $NetBSD: hdc9224.c,v 1.16 2001/07/26 15:05:09 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -347,7 +347,7 @@ rdattach(struct device *parent, struct device *self, void *aux)
/*
* if it's not a floppy then evaluate the on-disk geometry.
* if neccessary correct the label...
* if necessary correct the label...
*/
rd_readgeom(sc, rd);
disk_printtype(rd->sc_drive, rd->sc_xbn.media_id);

View File

@ -1,4 +1,4 @@
/* $NetBSD: hdc9224.h,v 1.3 2000/07/17 02:54:06 matt Exp $ */
/* $NetBSD: hdc9224.h,v 1.4 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -88,7 +88,7 @@ struct hdc9224_DKCreg {
#define DKC_TC_DATAERR (3<<3) /* Error in DATA-TRANSFER seq. */
/*
* Definitions of delays neccessary for floppy-operation
* Definitions of delays necessary for floppy-operation
*/
#define DKC_DELAY_MOTOR 500 /* allow 500 ms to reach speed */
#define DKC_DELAY_SELECT 70 /* 70 ms for data-recovery-circuit */

View File

@ -1,5 +1,5 @@
%{
/* $NetBSD: cgram.y,v 1.20 2001/05/28 12:40:37 lukem Exp $ */
/* $NetBSD: cgram.y,v 1.21 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -35,7 +35,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: cgram.y,v 1.20 2001/05/28 12:40:37 lukem Exp $");
__RCSID("$NetBSD: cgram.y,v 1.21 2001/07/26 15:05:10 wiz Exp $");
#endif
#include <stdlib.h>
@ -1508,7 +1508,7 @@ expr:
term:
T_NAME {
/* XXX realy neccessary? */
/* XXX really necessary? */
if (yychar < 0)
yychar = yylex();
$$ = getnnode(getsym($1), yychar);

View File

@ -1,4 +1,4 @@
/* $NetBSD: decl.c,v 1.22 2001/05/28 12:40:37 lukem Exp $ */
/* $NetBSD: decl.c,v 1.23 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: decl.c,v 1.22 2001/05/28 12:40:37 lukem Exp $");
__RCSID("$NetBSD: decl.c,v 1.23 2001/07/26 15:05:10 wiz Exp $");
#endif
#include <sys/param.h>
@ -1499,7 +1499,7 @@ dname(sym_t *sym)
* XXX somewhat ugly because we dont know whether
* this is AUTO or EXTERN (functions). If we are
* wrong it must be corrected in decl1loc(), where
* we have the neccessary type information.
* we have the necessary type information.
*/
sc = AUTO;
sym->s_def = DEF;

View File

@ -1,4 +1,4 @@
/* $NetBSD: chk.c,v 1.10 2001/05/28 12:40:38 lukem Exp $ */
/* $NetBSD: chk.c,v 1.11 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: chk.c,v 1.10 2001/05/28 12:40:38 lukem Exp $");
__RCSID("$NetBSD: chk.c,v 1.11 2001/07/26 15:05:10 wiz Exp $");
#endif
#include <stdlib.h>
@ -563,7 +563,7 @@ chkau(hte_t *hte, int n, sym_t *def, sym_t *decl, pos_t *pos1p,
/*
* Other lint implementations print warnings as soon as the type
* of an argument does not match exactly the expected type. The
* result are lots of warnings which are really not neccessary.
* result are lots of warnings which are really not necessary.
* We print a warning only if
* (0) at least one type is not an interger type and types differ
* (1) hflag is set and types differ

View File

@ -1,4 +1,4 @@
/* $NetBSD: emit2.c,v 1.6 2001/05/28 12:40:38 lukem Exp $ */
/* $NetBSD: emit2.c,v 1.7 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: emit2.c,v 1.6 2001/05/28 12:40:38 lukem Exp $");
__RCSID("$NetBSD: emit2.c,v 1.7 2001/07/26 15:05:10 wiz Exp $");
#endif
#include <err.h>
@ -197,7 +197,7 @@ dumpname(hte_t *hte)
/*
* If there is a definition, write it. Otherwise write a tentative
* definition. This is neccessary because more than one tentative
* definition. This is necessary because more than one tentative
* definition is allowed (except with sflag).
*/
def = NULL;

View File

@ -1,4 +1,4 @@
/* $NetBSD: read.c,v 1.9 2001/05/28 12:40:38 lukem Exp $ */
/* $NetBSD: read.c,v 1.10 2001/07/26 15:05:10 wiz Exp $ */
/*
* Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: read.c,v 1.9 2001/05/28 12:40:38 lukem Exp $");
__RCSID("$NetBSD: read.c,v 1.10 2001/07/26 15:05:10 wiz Exp $");
#endif
#include <stdio.h>
@ -227,7 +227,7 @@ setsrc(const char *cp)
/*
* setfnid() gets as input an index as used in an input file and the
* associated file name. If neccessary, it creates a new lint2 file
* associated file name. If necessary, it creates a new lint2 file
* name index for this file name and creates the mapping of the index
* as used in the input file to the index used in lint2.
*/