Spelling fixes

Comments only, no change to functionality
This commit is contained in:
Larry Doolittle
2017-09-24 18:03:26 -07:00
parent 44d4da62bb
commit 1b6806e5bb
19 changed files with 28 additions and 28 deletions

View File

@@ -9,7 +9,7 @@ static void kb_wait_1(void)
/* Here the else arm is a statement expression that's supposed
to be suppressed. The label inside the while would unsuppress
code generation again if not handled correctly. And that
would wreak havok to the cond-expression because there's no
would wreak havoc to the cond-expression because there's no
jump-around emitted, the whole statement expression really
needs to not generate code (perhaps except useless forward jumps). */
(1 ?

View File

@@ -60,7 +60,7 @@ struct U gu4 = { 3, {5,6,7,}, 5, { "bla", {44}} };
struct S gs3 = { (1), {(2)}, {(((3))), {4}}};
/* Superfluous braces, and leaving out braces for V.t, plus cast */
struct V gv = {{{3},4,{5,6}}, "haha", (u8)45, 46};
/* Compund literal */
/* Compound literal */
struct V gv2 = {(struct S){7,8,{9,10}}, {"hihi", 47}, 48};
/* Parens around compound literal */
struct V gv3 = {((struct S){7,8,{9,10}}), {"hoho", 49}, 50};
@@ -157,7 +157,7 @@ void foo (struct W *w, struct pkthdr *phdr_)
struct S ls3 = { (1), (2), {(((3))), 4}};
/* Superfluous braces, and leaving out braces for V.t, plus cast */
struct V lv = {{3,4,{5,6}}, "haha", (u8)45, 46};
/* Compund literal */
/* Compound literal */
struct V lv2 = {(struct S)w->t.s, {"hihi", 47}, 48};
/* Parens around compound literal */
struct V lv3 = {((struct S){7,8,{9,10}}), ((const struct W *)w)->t.t, 50};

View File

@@ -89,10 +89,10 @@ struct trapframe {
/////////////////////////////////////////////////////////////////////////
////////// SAFECALL FRAMEWORK
/////////////////////////////////////////////////////////////////////////
// this framwork will convert any calling convention to cdecl
// this framework will convert any calling convention to cdecl
// usage: first set call target with 'SET_SAFECALL_TARGET(x)'
// then cast 'SAFECALL' to target funtion pointer type and invoke it
// after calling, 'ESPDIFF' is the differance of old and new esp
// then cast 'SAFECALL' to target function pointer type and invoke it
// after calling, 'ESPDIFF' is the difference of old and new esp
void *SYMBOL(sc_call_target);
unsigned SYMBOL(sc_retn_addr);

View File

@@ -27,7 +27,7 @@ ifeq (-$(findstring gcc,$(CC))-,--)
SKIP += $(patsubst %.expect,%.test,$(GEN-ALWAYS))
endif
ifeq (-$(CONFIG_WIN32)-$(CONFIG_i386)$(CONFIG_arm)-,--yes-)
SKIP += 95_bitfields%.test # type_align is differnt on 32bit-non-windows
SKIP += 95_bitfields%.test # type_align is different on 32bit-non-windows
endif
# Some tests might need arguments