[Patches] Warnings in pythonrun.c

Fredrik Lundh Fredrik Lundh" <effbot@telia.com
Wed, 21 Jun 2000 10:09:42 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_008A_01BFDB68.D16C9860
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

more warnings:

..\Python\pythonrun.c(233) : warning C4013: '_PyImport_Fini' undefined; =
assuming
 extern returning int

the attached patch adds this function to the pythonrun.h
header file.

</F>

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.

------=_NextPart_000_008A_01BFDB68.D16C9860
Content-Type: text/plain;
	name="pythonrun-patch.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename="pythonrun-patch.txt"

Index: Include/pythonrun.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/pythonrun.h,v
retrieving revision 2.27
diff -u -r2.27 pythonrun.h
--- Include/pythonrun.h	2000/05/25 23:05:36	2.27
+++ Include/pythonrun.h	2000/06/21 08:04:54
@@ -94,6 +94,7 @@
 
 /* Various internal finalizers */
 DL_IMPORT(void) fini_exceptions Py_PROTO((void));
+DL_IMPORT(void) _PyImport_Fini Py_PROTO((void));
 DL_IMPORT(void) PyMethod_Fini Py_PROTO((void));
 DL_IMPORT(void) PyFrame_Fini Py_PROTO((void));
 DL_IMPORT(void) PyCFunction_Fini Py_PROTO((void));

------=_NextPart_000_008A_01BFDB68.D16C9860--