perl.cvs.parrot
[Top] [All Lists]

[svn:parrot] r23688 - trunk/src

Subject: [svn:parrot] r23688 - trunk/src
From:
Date: Sun, 9 Dec 2007 22:19:52 -0800 PST
Newsgroups: perl.cvs.parrot

Author: chromatic
Date: Sun Dec  9 22:19:51 2007
New Revision: 23688

Modified:
   trunk/src/scheduler.c

Log:
[src] Fixed a compiler warning that's a C++ no-no.

Modified: trunk/src/scheduler.c
==============================================================================
--- trunk/src/scheduler.c       (original)
+++ trunk/src/scheduler.c       Sun Dec  9 22:19:51 2007
@@ -53,7 +53,8 @@
 
 */
 
-PARROT_API
+typedef void *(pt_start_routine_f)(void *);
+
 void
 Parrot_cx_init_scheduler(PARROT_INTERP)
 {
@@ -78,7 +79,7 @@
 
         /* Start the scheduler runloop */
         THREAD_CREATE_JOINABLE(sched_struct->runloop_handle,
-                        (void *) scheduler_runloop, (void *) scheduler);
+            (pt_start_routine_f *)scheduler_runloop, (void *) scheduler);
 
     }
 }

<Prev in Thread] Current Thread [Next in Thread>
  • [svn:parrot] r23688 - trunk/src, chromatic <=