Anyone object to eliminating the need for the 'struct'?

Index: include/parrot/interpreter.h
===================================================================
RCS file: /home/perlcvs/parrot/include/parrot/interpreter.h,v
retrieving revision 1.28
diff -a -u -r1.28 interpreter.h
--- include/parrot/interpreter.h        5 Feb 2002 09:20:16 -0000       1.28
+++ include/parrot/interpreter.h        17 Feb 2002 03:00:34 -0000
@@ -37,8 +37,7 @@
        FLOATVAL time;
 } ProfData;
 
-
-struct Parrot_Interp {
+typedef struct Parrot_Interp {
     struct IReg int_reg;
     struct NReg num_reg;
     struct SReg string_reg;
@@ -87,7 +86,7 @@
     void *current_package;              /* The package we're currently in */
     UINTVAL string_count;
     UINTVAL pmc_count;
-};
+} Parrot_Interp;
 
 #define PCONST(i) PF_CONST(interpreter->code, (i))
 #define PNCONST   PF_NCONST(interpreter->code)


Reply via email to