In embed.h, we declare a function:

  struct Parrot_Interp *interp_new();

 that's never subsequently used. On the other hand, in embed.c,
 we use a function

 struct Parrot_Interp * Parrot_new() { ...

 that isn't previously declared. Are these supposed to be the same thing? 
 If so, the patch below fixes up the header.

 Simon

--- include/parrot/embed.h.old  Wed Jan 30 12:03:38 2002
+++ include/parrot/embed.h      Wed Jan 30 12:15:37 2002
@@ -31,7 +31,7 @@
 struct Parrot_Interp;
 struct PackFile;
 
-struct Parrot_Interp *interp_new();
+struct Parrot_Interp *Parrot_new(void);
 
 void Parrot_init(struct Parrot_Interp *);
 
 
 

Reply via email to