[Patches] clean up Win32 build warning (_PyImport_Fini)

Trent Mick trentm@activestate.com
Fri, 26 May 2000 14:43:46 -0700


Discussion:

Declare _PyImport_Fini in import.h so that other .c files can see it (cleans
up a build warning on Win32, and Win64 too, but you guys don't know about that yet
<wink>).


Legal:

I confirm that, to the best of my knowledge and belief, this
contribution is free of any claims of third parties under
copyright, patent or other rights or interests ("claims").  To
the extent that I have any such claims, I hereby grant to CNRI a
nonexclusive, irrevocable, royalty-free, worldwide license to
reproduce, distribute, perform and/or display publicly, prepare
derivative versions, and otherwise use this contribution as part
of the Python software and its related documentation, or any
derivative versions thereof, at no cost to CNRI or its licensed
users, and to authorize others to do so.

I acknowledge that CNRI may, at its sole discretion, decide
whether or not to incorporate this contribution in the Python
software and its related documentation.  I further grant CNRI
permission to use my name and other identifying information
provided to CNRI by me for use in connection with the Python
software and its related documentation.


Patch:


diff -c3  /home/trentm/main/contrib/python/dist/src/Include/import.h /home/trentm/main/Apps/Perlium/Python/dist/src/Include/import.h
*** /home/trentm/main/contrib/python/dist/src/Include/import.h	Mon Jan  4 08:39:38 1999
--- /home/trentm/main/Apps/Perlium/Python/dist/src/Include/import.h	Fri May 26 14:40:18 2000
***************
*** 53,58 ****
--- 53,59 ----
  
  extern DL_IMPORT(PyObject *)_PyImport_FindExtension Py_PROTO((char *, char *));
  extern DL_IMPORT(PyObject *)_PyImport_FixupExtension Py_PROTO((char *, char *));
+ extern DL_IMPORT(void) _PyImport_Fini Py_PROTO((void));
  
  struct _inittab {
  	char *name;




Ciao,
Trent

-- 
Trent Mick
trentm@activestate.com