diff Modules/_struct.c @ 38266:74c82ebc4e44 legacy-trunk

forward declaration for PyStructType
author Bob Ippolito <bob@redivi.com>
date Tue, 23 May 2006 19:31:23 +0000
parents 33631b6b0801
children cf5a9057ed3a
line wrap: on
line diff
--- a/Modules/_struct.c	Tue May 23 19:29:38 2006 +0000
+++ b/Modules/_struct.c	Tue May 23 19:31:23 2006 +0000
@@ -8,6 +8,7 @@
 #include "structmember.h"
 #include <ctype.h>
 
+static PyTypeObject PyStructType;
 
 /* compatibility macros */
 #if (PY_VERSION_HEX < 0x02050000)