Fix typos.

This commit is contained in:
enami 2000-09-06 14:12:45 +00:00
parent c9febd72cb
commit 04235cdc87

View File

@ -1,4 +1,4 @@
/* $NetBSD: style,v 1.15 2000/09/04 08:01:16 lukem Exp $ */
/* $NetBSD: style,v 1.16 2000/09/06 14:12:45 enami Exp $ */
/*
* The revision control tag appears first, with a blank line after it.
@ -30,7 +30,7 @@
#ifndef __lint
__COPYRIGHT("@(#) Copyright (c) 2000\n\
The NetBSD Foundation, inc. All rights reserved.\n");
__RCSID("$NetBSD: style,v 1.15 2000/09/04 08:01:16 lukem Exp $");
__RCSID("$NetBSD: style,v 1.16 2000/09/06 14:12:45 enami Exp $");
#endif /* !__lint */
/*
@ -135,8 +135,8 @@ enum enumtype {
} et;
/*
* When declaring variables in structures, declare them organised by use in
* a manner to attempt to minimise memory wastage because of compiler alignment
* When declaring variables in structures, declare them organized by use in
* a manner to attempt to minimize memory wastage because of compiler alignment
* issues, then by size, and then by alphabetical order. E.g, don't use
* ``int a; char *b; int c; char *d''; use ``int a; int b; char *c; char *d''.
* Each variable gets its own type and line, although an exception can be made
@ -232,7 +232,7 @@ main(int argc, char *argv[])
/* Second level indents are four spaces. */
while (cnt < 20)
z = a + really + long + statment + that + needs + two lines +
z = a + really + long + statement + that + needs + two lines +
gets + indented + four + spaces + on + the + second +
and + subsequent + lines;
@ -279,7 +279,7 @@ main(int argc, char *argv[])
/*
* The function type must be declared on a line by itself
* preceeding the function.
* preceding the function.
*/
static char *
function(int a1, int a2, float fl, int a4)