flushline and writestring can now return an error
diff --git a/Include/fileobject.h b/Include/fileobject.h
index 3a3bf7a..d5e7b8c 100644
--- a/Include/fileobject.h
+++ b/Include/fileobject.h
@@ -50,7 +50,7 @@
 extern PyObject *PyFile_GetLine Py_PROTO((PyObject *, int));
 extern int PyFile_WriteObject Py_PROTO((PyObject *, PyObject *, int));
 extern int PyFile_SoftSpace Py_PROTO((PyObject *, int));
-extern void PyFile_WriteString Py_PROTO((char *, PyObject *));
+extern int PyFile_WriteString Py_PROTO((char *, PyObject *));
 
 #ifdef __cplusplus
 }