Fixed them to compile
[fw/sdcc] / src / port.h
index f8e733a8f3b159f7eff763c2be8e9ea556f1126e..9bf97e4959a0c5cee4144d69ac46274149e7a780 100644 (file)
@@ -148,7 +148,7 @@ typedef struct
        /** One more than the smallest 
            mul/div operation the processor can do nativley 
            Eg if the processor has an 8 bit mul, nativebelow is 2 */
-       int native_below;
+       unsigned native_below;
        /** The mul/div/mod functions will be made to use regparams
            for sizeof(param) < log2(force_reg)
            i.e. Use 2 for WORD and BYTE, 0 for none. */
@@ -201,6 +201,10 @@ typedef struct
     */
     int (*process_pragma) (const char *sz);
 
+    /** Mangles a support function name to reflect the calling model. 
+     */
+    char *(*getMangledFunctionName) (char *szOrginial);
+
     /** If TRUE, then tprintf and !dw will be used for some initalisers
      */
     bool use_dw_for_init;
@@ -246,4 +250,4 @@ extern PORT i186_port;
 extern PORT tlcs900h_port;
 #endif
 
-#endif PORT_INCLUDE
+#endif /* PORT_INCLUDE*/