cvsuser 01/12/31 19:46:40
Modified: . global_setup.c
Log:
Clean up some compiler warnings.
Courtesy of "David & Lisa Jacobs" <[EMAIL PROTECTED]>
Revision Changes Path
1.12 +8 -2 parrot/global_setup.c
Index: global_setup.c
===================================================================
RCS file: /home/perlcvs/parrot/global_setup.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -w -r1.11 -r1.12
--- global_setup.c 18 Dec 2001 07:05:00 -0000 1.11
+++ global_setup.c 1 Jan 2002 03:46:40 -0000 1.12
@@ -1,7 +1,7 @@
/* global_setup.c
* Copyright: (When this is determined...it will go here)
* CVS Info
- * $Id: global_setup.c,v 1.11 2001/12/18 07:05:00 jgoff Exp $
+ * $Id: global_setup.c,v 1.12 2002/01/01 03:46:40 dan Exp $
* Overview:
* Performs all the global setting up of things. This includes the
* (very few) global variables that Parrot totes around
@@ -14,8 +14,14 @@
#define INSIDE_GLOBAL_SETUP
#include "parrot/parrot.h"
+/* Needed because this might get compiled before pmcs have been built */
+void Parrot_PerlInt_class_init(void);
+void Parrot_PerlNum_class_init(void);
+void Parrot_PerlString_class_init(void);
+void Parrot_PerlArray_class_init(void);
+
void
-init_world() {
+init_world(void) {
string_init(); /* Set up the string subsystem */
/* Call base vtable class constructor methods! */