remove empty dir
[ghc-hetmet.git] / ghc / utils / hp2ps / AuxFile.c
index a6088eb..9998d3f 100644 (file)
@@ -1,7 +1,7 @@
+#include "Main.h"
 #include <ctype.h>
 #include <stdio.h>
 #include <string.h>
-#include "Main.h"
 #include "Defines.h"
 #include "Shade.h"
 #include "Error.h"
@@ -127,7 +127,7 @@ FILE* auxfp;
         return;
     } else if (IsIdChar(ch)) {          /* ch can't be a digit here */
         GetIdent(auxfp);
-       if (!isupper(theident[0])) {
+       if (!isupper((int)theident[0])) {
             thetok = IDENTIFIER_TOK;
         } else if (strcmp(theident, "X_RANGE") == 0) {
             thetok = X_RANGE_TOK;
@@ -150,7 +150,7 @@ void
 PutAuxFile(auxfp)
   FILE* auxfp;
 {
-    intish i;
+    int i;
 
     fprintf(auxfp, "X_RANGE %.2f\n", xrange);
     fprintf(auxfp, "Y_RANGE %.2f\n", yrange);