1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Changed function signatures (K&R style) to remove warnings when compiling with VC2003.

git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@450 19e92222-5c0b-0410-8929-a290d50e31e9
This commit is contained in:
luislavena 2006-11-30 15:25:57 +00:00
parent f484a356c9
commit 0bd56fb47c

View file

@ -221,9 +221,8 @@ init_mutex(mutex)
init_list(&mutex->waiting);
}
static VALUE
rb_mutex_alloc(klass)
VALUE klass;
static VALUE
rb_mutex_alloc(VALUE klass)
{
Mutex *mutex;
mutex = (Mutex *)malloc(sizeof(Mutex));
@ -468,8 +467,7 @@ init_condvar(condvar)
}
static VALUE
rb_condvar_alloc(klass)
VALUE klass;
rb_condvar_alloc(VALUE klass)
{
ConditionVariable *condvar;
@ -596,8 +594,7 @@ init_queue(queue)
}
static VALUE
rb_queue_alloc(klass)
VALUE klass;
rb_queue_alloc(VALUE klass)
{
Queue *queue;
queue = (Queue *)malloc(sizeof(Queue));
@ -738,8 +735,7 @@ free_sized_queue(queue)
}
static VALUE
rb_sized_queue_alloc(klass)
VALUE klass;
rb_sized_queue_alloc(VALUE klass)
{
SizedQueue *queue;
queue = (SizedQueue *)malloc(sizeof(SizedQueue));