]> git.pond.sub.org Git - empserver/commitdiff
(xutail): Remove parameter type. Use cur_type instead. Caller
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Aug 2007 17:36:01 +0000 (17:36 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 5 Aug 2007 17:36:01 +0000 (17:36 +0000)
changed.

src/lib/common/xundump.c

index e447f1beb90e4affee200dc0973604d19e95da58..603b143f945cc285f449abd4bcf6e324fcb1272e 100644 (file)
@@ -82,7 +82,7 @@ static int setsym(int, char *);
 static int mtsymset(int, long *);
 static int add2symset(int, long *, char *);
 static int xubody(FILE *);
-static int xutail(FILE *, int, struct castr *);
+static int xutail(FILE *, struct castr *);
 
 static int
 gripe(char *fmt, ...)
@@ -768,7 +768,7 @@ xundump(FILE *fp, char *file, int *plno, int expected_table)
     caseen = calloc(nca, sizeof(*caseen));
     cur_type = type;
 
-    if (xutail(fp, type, ca) < 0)
+    if (xutail(fp, ca) < 0)
        type = EF_BAD;
 
     free(caseen);
@@ -786,7 +786,7 @@ xundump(FILE *fp, char *file, int *plno, int expected_table)
 }
 
 static int
-xutail(FILE *fp, int type, struct castr *ca)
+xutail(FILE *fp, struct castr *ca)
 {
     int recs, i;
 
@@ -802,7 +802,7 @@ xutail(FILE *fp, int type, struct castr *ca)
            return 0;
        for (i = 0; ca[i].ca_name; i++)
            caseen[i] = caflds[i] != 0;
-       if (xuheader(fp, type) < 0)
+       if (xuheader(fp, cur_type) < 0)
            return -1;
     }
 }