Commits

rmtew  committed be433f9

Committing Jeff Senn's non-Windows compilation changes as mailed to the Stackless mailing list (http://www.stackless.com/pipermail/stackless/2010-July/004766.html).

  • Participants
  • Parent commits 6f640e4
  • Branches release27-maint

Comments (0)

Files changed (3)

File Python/pythonrun.c

 }
 
 #ifdef STACKLESS
-void PyStackless_HandleSystemExit()
+void PyStackless_HandleSystemExit(void)
 {
     handle_system_exit();
 }

File Stackless/module/stacklessmodule.c

     return 0;
 }
 
-static int init_stackless_methods()
+static int init_stackless_methods(void)
 {
     _stackless_method *p = _stackless_methtable;
 

File Stackless/pickling/prickelpit.c

     if (exec_name == NULL) {
         char msg[500];
         PyErr_Clear();
-        sprintf(msg, "frame exec function at %08x is not registered!",
-            (unsigned int)(void *)f->f_execute);
+        sprintf(msg, "frame exec function at %lx is not registered!",
+            (unsigned long)(void *)f->f_execute);
         PyErr_SetString(PyExc_ValueError, msg);
         valid = 0;
     }
  */
 
 static PyTypeObject wrap_PyCell_Type;
-extern PyTypeObject *_Pywrap_PyCell_Type = &wrap_PyCell_Type;
+PyTypeObject *_Pywrap_PyCell_Type = &wrap_PyCell_Type;
 
 static PyObject *
 cell_reduce(PyCellObject *cell)