Re: 2.0.34-pre2 Alan breaks DOSEMU

Daniel Egger (Daniel.Egger@t-online.de)
Tue, 17 Feb 1998 17:57:56 +0000


-----BEGIN PGP SIGNED MESSAGE-----

Hiho!

I'd like to commit the following patch.
It only adds two returns in include/asm-i386/string.h
which should never be used but will shut up egcs's warnings
that the functions have no return in themselves but in switches...

*** include/asm-i386/string.h Tue Feb 17 18:59:17 1998
- --- include/asm-i386/stringnew.h Tue Feb 17 18:58:57 1998
***************
*** 445,450 ****
- --- 445,451 ----
case 3: COMMON("\n\tmovsw\n\tmovsb"); return to;
}
#undef COMMON
+ return(to);
}

#define __HAVE_ARCH_MEMCPY
***************
*** 596,601 ****
- --- 597,603 ----
case 3: COMMON("\n\tstosw\n\tstosb"); return s;
}
#undef COMMON
+ return(s);
}

#define __constant_c_x_memset(s, c, count) \
#define __constant_c_x_memset(s, c, count) \

- --

Servus,
Daniel

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBNOnQ7GEdw1sxhJOZAQGz0gP/b1wUrH8QbUsp9FgQlIBPoeus7YLV8ifg
KFEixsc2iA8rJqEJxFiCu38+OQtkoTKztcg9aAEy7+JKuAVymAI2qmpIK1SnJv8s
+O1Bny8myoIB//Ibp8hng1G2WsUW4rwogpo+gJNRe6lwzOjqOEKcMwWfrw4yXjMW
wq3+/kM+YIY=
=ojih
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu