x86: setjmp: including stdio is a no-no
PATCH 1/1 x86: setjmp: including stdio is a no-no
Signed-off-by Andrew Jones <[email protected]>
--- x86/setjmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
x86/setjmp.c +1 -1
@@ -1,4 +1,4 @@ -#include "stdio.h" +#include "libcflat.h" #include "setjmp.h" int main ()
Signature · 1 line
2.4.3
Quoted 10 lines · Andrew Jones
Signed-off-by Andrew Jones <[email protected]>--- x86/setjmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/setjmp.c +0
-0
x86/setjmp.c line 4
Quoted 5 lines
x86/setjmp.c +1
-1@@ -1,4 +1,4 @@ -#include "stdio.h" +#include "libcflat.h" #include "setjmp.h" int main ()
Thanks! I always apply this patch locally.
Paolo Bonzini
maintainerQuoted 11 lines · Andrew Jones
Signed-off-by Andrew Jones <[email protected]>--- x86/setjmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/setjmp.c +0
-0
x86/setjmp.c line 4
Quoted 5 lines
x86/setjmp.c +1
-1@@ -1,4 +1,4 @@ -#include "stdio.h" +#include "libcflat.h" #include "setjmp.h" int main ()
We probably should instead provide our own stdio.h. In the meanwhile, I've queued this and will push tomorrow.
Paolo
Quoted 15 lines · Paolo Bonzini
Quoted 14 lines · Andrew Jones
Signed-off-by Andrew Jones <[email protected]>--- x86/setjmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)x86/setjmp.c +1
-1@@ -1,4 +1,4 @@ -#include "stdio.h" +#include "libcflat.h" #include "setjmp.h"
Quoted 5 lines
x86/setjmp.c line 4
Quoted 2 lines
x86/setjmp.c +0
-0int main ()We probably should instead provide our own
stdio.h. In the meanwhile, I've queued this and will push tomorrow.
Good idea. Added to the TODO.
Thanks,
drew
Quoted 6 lines
Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html