comparison Python/errors.c @ 30781:74747f62f286 legacy-trunk

Made function declaration a proper C prototype
author Armin Rigo <arigo@tunes.org>
date Sat, 25 Oct 2003 14:29:27 +0000
parents 3b59fa5d25b1
children 86fdf8fe7f17
comparison
equal deleted inserted replaced
30779:eee07f30ef06 30781:74747f62f286
597 Py_XDECREF(t); 597 Py_XDECREF(t);
598 Py_XDECREF(v); 598 Py_XDECREF(v);
599 Py_XDECREF(tb); 599 Py_XDECREF(tb);
600 } 600 }
601 601
602 extern PyObject *PyModule_GetWarningsModule(); 602 extern PyObject *PyModule_GetWarningsModule(void);
603 603
604 /* Function to issue a warning message; may raise an exception. */ 604 /* Function to issue a warning message; may raise an exception. */
605 int 605 int
606 PyErr_Warn(PyObject *category, char *message) 606 PyErr_Warn(PyObject *category, char *message)
607 { 607 {