s/indicies/indices/ in comments.

This commit is contained in:
andvar 2024-02-10 08:24:50 +00:00
parent e54bf30caf
commit 734527fb7d
9 changed files with 22 additions and 22 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: trek.h,v 1.18 2009/08/12 08:54:54 dholland Exp $ */
/* $NetBSD: trek.h,v 1.19 2024/02/10 08:24:50 andvar Exp $ */
/*
* Copyright (c) 1980, 1993
@ -337,7 +337,7 @@ extern struct Etc_struct Etc;
* scheduled event of each type. Zero if no such event scheduled.
*/
/* Klingon move indicies */
/* Klingon move indices */
#define KM_OB 0 /* Old quadrant, Before attack */
#define KM_OA 1 /* Old quadrant, After attack */
#define KM_EB 2 /* Enter quadrant, Before attack */

View File

@ -1,4 +1,4 @@
/* $NetBSD: symtab.c,v 1.30 2021/06/19 13:56:35 christos Exp $ */
/* $NetBSD: symtab.c,v 1.31 2024/02/10 08:24:50 andvar Exp $ */
/*
* Copyright (c) 1983, 1993
@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)symtab.c 8.3 (Berkeley) 4/28/95";
#else
__RCSID("$NetBSD: symtab.c,v 1.30 2021/06/19 13:56:35 christos Exp $");
__RCSID("$NetBSD: symtab.c,v 1.31 2024/02/10 08:24:50 andvar Exp $");
#endif
#endif /* not lint */
@ -466,7 +466,7 @@ dumpsymtable(const char *filename, int32_t checkpt)
}
clearerr(fd);
/*
* Assign indicies to each entry
* Assign indices to each entry
* Write out the string entries
*/
for (i = UFS_WINO; i <= maxino; i++) {

View File

@ -1,4 +1,4 @@
/* $NetBSD: gemini_ipmvar.h,v 1.1 2008/12/06 05:22:39 cliff Exp $ */
/* $NetBSD: gemini_ipmvar.h,v 1.2 2024/02/10 08:24:50 andvar Exp $ */
#ifndef _GEMINI_IPMVAR_H_
#define _GEMINI_IPMVAR_H_
@ -9,7 +9,7 @@
* - the queue gets located in memory shared between cores
* - is mapped non-cached so SW coherency is not required.
* - be sure ipm_queue_t starts on 32 bit (min) boundary to align descriptors
* - note that indicies are 8 bit and NIPMDESC < (1<<8)
* - note that indices are 8 bit and NIPMDESC < (1<<8)
* be sure to adjust typedef if size is increased
* - current sizes, typedef, and padding make sizeof(ipm_queue_t) == 4096
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: rdreg.h,v 1.20 2022/11/25 13:02:51 tsutsui Exp $ */
/* $NetBSD: rdreg.h,v 1.21 2024/02/10 08:24:50 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -150,7 +150,7 @@ struct rd_clearcmd {
#define RDNAMELEN 6
/* SW ids -- indicies into rdidentinfo, order is arbitrary */
/* SW ids -- indices into rdidentinfo, order is arbitrary */
#define RD7945A 0
#define RD9134D 1
#define RD9122S 2

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.366 2024/01/03 12:43:42 thorpej Exp $ */
/* $NetBSD: machdep.c,v 1.367 2024/02/10 08:24:51 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -74,7 +74,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.366 2024/01/03 12:43:42 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.367 2024/02/10 08:24:51 andvar Exp $");
#include "opt_adb.h"
#include "opt_compat_netbsd.h"
@ -396,7 +396,7 @@ cpu_startup(void)
vers = mac68k_machine.booter_version;
if (vers < CURRENTBOOTERVER) {
/* fix older booters with indicies, not versions */
/* fix older booters with indices, not versions */
if (vers < 100)
vers += 99;

View File

@ -1,4 +1,4 @@
/* $NetBSD: locore.s,v 1.284 2023/02/23 14:56:37 riastradh Exp $ */
/* $NetBSD: locore.s,v 1.285 2024/02/10 08:24:51 andvar Exp $ */
/*
* Copyright (c) 1996 Paul Kranenburg
@ -1405,7 +1405,7 @@ label: b,a 1f; \
* wmask[CWP] tells whether a `rett' would return into the invalid window.
*/
.data
.skip 32 ! alignment byte & negative indicies
.skip 32 ! alignment byte & negative indices
uwtab: .skip 32 ! u_char uwtab[-31..31];
wmask: .skip 32 ! u_char wmask[0..31];

View File

@ -1,4 +1,4 @@
/* $NetBSD: rdreg.h,v 1.6 2011/02/08 20:20:27 rmind Exp $ */
/* $NetBSD: rdreg.h,v 1.7 2024/02/10 08:24:51 andvar Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@ -76,7 +76,7 @@ struct rd_rscmd { /* different */
#define RD2200AID 0x22F
#define RD2203AID 0x230 /* yet another guess */
/* SW ids -- indicies into rdidentinfo, order is arbitrary */
/* SW ids -- indices into rdidentinfo, order is arbitrary */
#define RD7945A 0
#define RD9134D 1
#define RD9122S 2

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64570.c,v 1.57 2022/09/03 02:48:00 thorpej Exp $ */
/* $NetBSD: hd64570.c,v 1.58 2024/02/10 08:24:51 andvar Exp $ */
/*
* Copyright (c) 1999 Christian E. Hopps
@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64570.c,v 1.57 2022/09/03 02:48:00 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64570.c,v 1.58 2024/02/10 08:24:51 andvar Exp $");
#include "opt_inet.h"
@ -1756,7 +1756,7 @@ sca_frame_read_done(sca_port_t *scp)
{
u_int16_t edesc_p;
/* update where our indicies are */
/* update where our indices are */
scp->sp_rxend = scp->sp_rxstart;
scp->sp_rxstart = (scp->sp_rxstart + 1) % scp->sp_nrxdesc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $ */
/* $NetBSD: mscp_subr.c,v 1.49 2024/02/10 08:24:51 andvar Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
* All rights reserved.
@ -75,7 +75,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.48 2022/04/07 19:33:38 andvar Exp $");
__KERNEL_RCSID(0, "$NetBSD: mscp_subr.c,v 1.49 2024/02/10 08:24:51 andvar Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -372,7 +372,7 @@ mscp_init(struct mscp_softc *mi)
/*
* While we are thinking about it, reset the next command
* and response indicies.
* and response indices.
*/
mi->mi_cmd.mri_next = 0;
mi->mi_rsp.mri_next = 0;