Diff of /Backend/If2mem/world.h [32eb06] .. [28e18d] Maximize Restore

  Switch to side-by-side view

--- a/Backend/If2mem/world.h
+++ b/Backend/If2mem/world.h
@@ -1,7 +1,43 @@
-/* $Log$
-/* Revision 1.1  2000/12/31 17:57:45  patmiller
-/* Initial revision
+#ifndef WORLD_H
+#define WORLD_H
+
+/**************************************************************************/
+/* FILE   **************         world.h<3>        ************************/
+/**************************************************************************/
+/* Author: Dave Cann                                                      */
+/* Update: Patrick Miller -- Ansi support (Dec 2000)                      */
+/* Copyright (C) University of California Regents                         */
+/**************************************************************************/
 /*
+ * $Log$
+ * Revision 1.2  2001/01/01 05:46:22  patmiller
+ * Adding prototypes and header info -- all will be broken
+ *
+ * Revision 1.1.1.1  2000/12/31 17:57:45  patmiller
+ * Well, here is the first set of big changes in the distribution
+ * in 5 years!  Right now, I did a lot of work on configuration/
+ * setup (now all autoconf), breaking out the machine dependent
+ * #ifdef's (with a central acconfig.h driven config file), changed
+ * the installation directories to be more gnu style /usr/local
+ * (putting data in the /share/sisal14 dir for instance), and
+ * reduced the footprint in the top level /usr/local/xxx hierarchy.
+ *
+ * I also wrote a new compiler tool (sisalc) to replace osc.  I
+ * found that the old logic was too convoluted.  This does NOT
+ * replace the full functionality, but then again, it doesn't have
+ * 300 options on it either.
+ *
+ * Big change is making the code more portably correct.  It now
+ * compiles under gcc -ansi -Wall mostly.  Some functions are
+ * not prototyped yet.
+ *
+ * Next up: Full prototypes (little) checking out the old FLI (medium)
+ * and a new Frontend for simpler extension and a new FLI (with clean
+ * C, C++, F77, and Python! support).
+ *
+ * Pat
+ *
+ *
  * Revision 1.11  1994/06/16  21:31:02  mivory
  * info format and option changes M. Y. I.
  *
@@ -24,52 +60,54 @@
  *
  * Revision 1.5  1993/01/07  00:39:12  miller
  * Make changes for LINT and combined files.
- * */
+ *
+ */
 
 #include "sisalInfo.h"
 #include "../Library/IFX.h"
 
 
-extern int    noopt;		/* ARE CSE AND CONSTANT FOLDING DESIRED? */
+extern int    noopt;            /* ARE CSE AND CONSTANT FOLDING DESIRED? */
 
-extern int   invar;		/* GRAPH CLEANUP DISABLE FLAGS */
+extern int   invar;             /* GRAPH CLEANUP DISABLE FLAGS */
 extern int   cse;
 extern int   gcse;
 extern int   fold;
 
-extern int   minopt;		/* ONLY PERFORM MINIMAL OPTIMIZATION? */
-extern int   fover;		/* OVERRIDE AGather FILTERS? */
+extern int   minopt;            /* ONLY PERFORM MINIMAL OPTIMIZATION? */
+extern int   fover;             /* OVERRIDE AGather FILTERS? */
 extern int   Oinvar;
 
-extern int   paddh;		/* COUNT OF AAddH PREFERENCES */
+extern int   paddh;             /* COUNT OF AAddH PREFERENCES */
 
 extern FILE *infoptr;
 extern int agg;
 
 /* ------------------------------------------------------------ */
 /* if2mem.c */
-extern void	PushAtNode();
-extern PNODE	PopAtNode();
-extern PNODE	ReferencePoint();
-extern PNODE	MaxNodeInDFO();
-extern PNODE	MaxSourceInDFO();
-extern void	If2Mem();
+extern void     PushAtNode PROTO((void));
+extern PNODE    PopAtNode PROTO((void));
+extern PNODE    ReferencePoint PROTO((void));
+extern PNODE    MaxNodeInDFO PROTO((void));
+extern PNODE    MaxSourceInDFO PROTO((void));
+extern void     If2Mem PROTO((void));
 
 /* if2level.c */
-extern void	AssignLevelNumbers();
+extern void     AssignLevelNumbers PROTO((void));
 
 /* if2size.c */
-extern void	AssignSizes();
+extern void     AssignSizes PROTO((void));
 
 /* if2alloc.c */
-extern void	AllocIf2Nodes();
+extern void     AllocIf2Nodes PROTO((void));
 
 /* if2clean.c */
-extern void	If2Clean();
+extern void     If2Clean PROTO((void));
 
 /* if2pic.c */
-extern void	CountNodesAndEdges();
-extern void	TraceBuffer();
-extern void	WriteIf2memPicture();
-extern void	WriteIf2memWarnings();
+extern void     CountNodesAndEdges PROTO((void));
+extern void     TraceBuffer PROTO((void));
+extern void     WriteIf2memPicture PROTO((void));
+extern void     WriteIf2memWarnings PROTO((void));
 
+#endif