* src/port.h: made reset_regparms prototype void parameter explicit.
[fw/sdcc] / src / port.h
index 2005ddfd89a30cd477db76a6f33fdebb7e28f77b..58cb554f81383a8d9320233893beccf5807d7894 100644 (file)
@@ -212,7 +212,18 @@ typedef struct
        dwarf;
       }
     debugger;
-    
+
+    struct
+      {
+        int maxCount;
+        int sizeofElement;
+        int sizeofMatchJump[3];
+        int sizeofRangeCompare[3];
+        int sizeofSubtract;
+        int sizeofDispatch;
+      }
+    jumptableCost;
+        
 /** Prefix to add to a C function (eg "_") */
     const char *fun_prefix;
 
@@ -226,6 +237,8 @@ typedef struct
 /** Optional list of automatically parsed options.  Should be
     implemented to at least show the help text correctly. */
     OPTION *poptions;
+/** Initialise port spectific paths */
+    void (*initPaths)(void);
 /** Called after all the options have been parsed. */
     void (*finaliseOptions) (void);
     /** Called after the port has been selected but before any
@@ -259,7 +272,7 @@ typedef struct
     void (*genInitStartup) (FILE * of);
 
     /* parameter passing in register related functions */
-    void (*reset_regparms) (); /* reset the register count */
+    void (*reset_regparms) (void);     /* reset the register count */
     int (*reg_parm) (struct sym_link *);       /* will return 1 if can be passed in register */
 
     /** Process the pragma string 'sz'.  Returns 0 if recognised and