[Python-checkins] CVS: python/dist/src/Modules threadmodule.c,2.33,2.34
Peter Schneider-Kamp
python-dev@python.org
Mon, 10 Jul 2000 03:04:00 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv8410
Modified Files:
threadmodule.c
Log Message:
ANSI-fication
Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.33
retrieving revision 2.34
diff -C2 -r2.33 -r2.34
*** threadmodule.c 2000/06/30 23:58:05 2.33
--- threadmodule.c 2000/07/10 10:03:58 2.34
***************
*** 51,56 ****
static void
! lock_dealloc(self)
! lockobject *self;
{
/* Unlock the lock so it's safe to free it */
--- 51,55 ----
static void
! lock_dealloc(lockobject *self)
{
/* Unlock the lock so it's safe to free it */
***************
*** 63,69 ****
static PyObject *
! lock_PyThread_acquire_lock(self, args)
! lockobject *self;
! PyObject *args;
{
int i;
--- 62,66 ----
static PyObject *
! lock_PyThread_acquire_lock(lockobject *self, PyObject *args)
{
int i;
***************
*** 100,106 ****
static PyObject *
! lock_PyThread_release_lock(self, args)
! lockobject *self;
! PyObject *args;
{
if (!PyArg_NoArgs(args))
--- 97,101 ----
static PyObject *
! lock_PyThread_release_lock(lockobject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
***************
*** 128,134 ****
static PyObject *
! lock_locked_lock(self, args)
! lockobject *self;
! PyObject *args;
{
if (!PyArg_NoArgs(args))
--- 123,127 ----
static PyObject *
! lock_locked_lock(lockobject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
***************
*** 159,165 ****
static PyObject *
! lock_getattr(self, name)
! lockobject *self;
! char *name;
{
return Py_FindMethod(lock_methods, (PyObject *)self, name);
--- 152,156 ----
static PyObject *
! lock_getattr(lockobject *self, char *name)
{
return Py_FindMethod(lock_methods, (PyObject *)self, name);
***************
*** 192,197 ****
static void
! t_bootstrap(boot_raw)
! void *boot_raw;
{
struct bootstate *boot = (struct bootstate *) boot_raw;
--- 183,187 ----
static void
! t_bootstrap(void *boot_raw)
{
struct bootstate *boot = (struct bootstate *) boot_raw;
***************
*** 224,230 ****
static PyObject *
! thread_PyThread_start_new_thread(self, fargs)
! PyObject *self; /* Not used */
! PyObject *fargs;
{
PyObject *func, *args = NULL, *keyw = NULL;
--- 214,218 ----
static PyObject *
! thread_PyThread_start_new_thread(PyObject *self, PyObject *fargs)
{
PyObject *func, *args = NULL, *keyw = NULL;
***************
*** 283,289 ****
static PyObject *
! thread_PyThread_exit_thread(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
if (!PyArg_NoArgs(args))
--- 271,275 ----
static PyObject *
! thread_PyThread_exit_thread(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
***************
*** 302,308 ****
#ifndef NO_EXIT_PROG
static PyObject *
! thread_PyThread_exit_prog(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
int sts;
--- 288,292 ----
#ifndef NO_EXIT_PROG
static PyObject *
! thread_PyThread_exit_prog(PyObject *self, PyObject *args)
{
int sts;
***************
*** 315,321 ****
static PyObject *
! thread_PyThread_allocate_lock(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
if (!PyArg_NoArgs(args))
--- 299,303 ----
static PyObject *
! thread_PyThread_allocate_lock(PyObject *self, PyObject *args)
{
if (!PyArg_NoArgs(args))
***************
*** 331,337 ****
static PyObject *
! thread_get_ident(self, args)
! PyObject *self; /* Not used */
! PyObject *args;
{
long ident;
--- 313,317 ----
static PyObject *
! thread_get_ident(PyObject *self, PyObject *args)
{
long ident;