[svn:parrot] r41005 - in branches/pluggable_runcore: include/parrot src/runcore
cotto at svn.parrot.org
cotto at svn.parrot.org
Sat Sep 5 16:20:14 UTC 2009
Author: cotto
Date: Sat Sep 5 16:20:10 2009
New Revision: 41005
URL: https://trac.parrot.org/parrot/changeset/41005
Log:
[runcores] remove a const that was causing a compiler warning
Modified:
branches/pluggable_runcore/include/parrot/runcore_api.h
branches/pluggable_runcore/src/runcore/main.c
Modified: branches/pluggable_runcore/include/parrot/runcore_api.h
==============================================================================
--- branches/pluggable_runcore/include/parrot/runcore_api.h Sat Sep 5 15:19:25 2009 (r41004)
+++ branches/pluggable_runcore/include/parrot/runcore_api.h Sat Sep 5 16:20:10 2009 (r41005)
@@ -139,7 +139,7 @@
PARROT_EXPORT
INTVAL Parrot_runcore_register(PARROT_INTERP,
- ARGIN(const Parrot_runcore_t *coredata))
+ ARGIN(Parrot_runcore_t *coredata))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
Modified: branches/pluggable_runcore/src/runcore/main.c
==============================================================================
--- branches/pluggable_runcore/src/runcore/main.c Sat Sep 5 15:19:25 2009 (r41004)
+++ branches/pluggable_runcore/src/runcore/main.c Sat Sep 5 16:20:10 2009 (r41005)
@@ -151,7 +151,7 @@
/*
-=item C<INTVAL Parrot_runcore_register(PARROT_INTERP, const Parrot_runcore_t
+=item C<INTVAL Parrot_runcore_register(PARROT_INTERP, Parrot_runcore_t
*coredata)>
Registers a new runcore with Parrot. Returns 1 on success, 0 on failure.
@@ -162,7 +162,7 @@
PARROT_EXPORT
INTVAL
-Parrot_runcore_register(PARROT_INTERP, ARGIN(const Parrot_runcore_t *coredata))
+Parrot_runcore_register(PARROT_INTERP, ARGIN(Parrot_runcore_t *coredata))
{
ASSERT_ARGS(Parrot_runcore_register)
size_t num_cores = ++interp->num_cores;
More information about the parrot-commits
mailing list