X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2Ftutorial%2FLangImpl4.rst;h=92dcc3d33a0ed89fdfa82d0d783f6f8f5184dcda;hb=b325a1ace53c1f0b1b38505fefeb08114f40dc10;hp=702886f6aec6b432f4b51795339307634e99cb4a;hpb=2b96ce62f49d4701bc9880e27ebc894a371342e2;p=oota-llvm.git diff --git a/docs/tutorial/LangImpl4.rst b/docs/tutorial/LangImpl4.rst index 702886f6aec..92dcc3d33a0 100644 --- a/docs/tutorial/LangImpl4.rst +++ b/docs/tutorial/LangImpl4.rst @@ -566,7 +566,7 @@ if we add: /// putchard - putchar that takes a double and returns 0. extern "C" double putchard(double X) { - putchar((char)X); + fputc((char)X, stderr); return 0; }