[Python-checkins] python/dist/src/Modules/cjkcodecs cjkcodecs.h, 1.1, 1.2

tim_one at users.sourceforge.net tim_one at users.sourceforge.net
Sun Jul 18 06:20:17 CEST 2004


Update of /cvsroot/python/python/dist/src/Modules/cjkcodecs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17982/Modules/cjkcodecs

Modified Files:
	cjkcodecs.h 
Log Message:
Changed the "predefinitions" of codec_list and mapping_list from static
to extern.  It's not legal C to say

     static whatever[];

because the size isn't given.  Presumably this is a gcc extension.


Index: cjkcodecs.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/cjkcodecs/cjkcodecs.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** cjkcodecs.h	18 Jul 2004 03:06:27 -0000	1.1
--- cjkcodecs.h	18 Jul 2004 04:20:15 -0000	1.2
***************
*** 58,63 ****
  };
  
! static const MultibyteCodec codec_list[];
! static const struct dbcs_map mapping_list[];
  
  #define CODEC_INIT(encoding)						\
--- 58,63 ----
  };
  
! extern const MultibyteCodec codec_list[];
! extern const struct dbcs_map mapping_list[];
  
  #define CODEC_INIT(encoding)						\



More information about the Python-checkins mailing list