summaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-rw-r--r--c/realize_c_type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/realize_c_type.c b/c/realize_c_type.c
index fe54385..d016806 100644
--- a/c/realize_c_type.c
+++ b/c/realize_c_type.c
@@ -318,7 +318,7 @@ _realize_c_struct_or_union(builder_c_t *builder, int sindex)
/* returns a single global cached opaque type */
static PyObject *file_struct = NULL;
if (file_struct == NULL)
- file_struct = new_struct_or_union_type("struct _IO_FILE",
+ file_struct = new_struct_or_union_type("FILE",
CT_STRUCT | CT_IS_FILE);
Py_XINCREF(file_struct);
return file_struct;