static int setsym(int, char *);
static int mtsymset(int, long *);
static int add2symset(int, long *, char *);
-static int xundump1(FILE *, int, struct castr *);
+static int xundump1(FILE *, int);
static int xundump2(FILE *, int, struct castr *);
static int
}
static int
-xuheader1(FILE *fp, int type, struct castr ca[])
+xuheader1(FILE *fp, struct castr ca[])
{
struct castr **fca;
int *fidx;
}
static int
-xutrailer(FILE *fp, int type, int row)
+xutrailer(FILE *fp, int row)
{
int rows, res;
is_partial = 0;
for (;;) {
- if (xuheader1(fp, type, ca) < 0)
+ if (xuheader1(fp, ca) < 0)
return -1;
- if (xundump1(fp, type, ca) < 0)
+ if (xundump1(fp, type) < 0)
return -1;
if (!ellipsis)
return 0;
}
static int
-xundump1(FILE *fp, int type, struct castr *ca)
+xundump1(FILE *fp, int type)
{
struct empfile *ep = &empfile[type];
int need_sentinel = !EF_IS_GAME_STATE(type);
memset(ep->cache + ep->size * n, 0, ep->size);
}
- if (xutrailer(fp, type, row) < 0)
+ if (xutrailer(fp, row) < 0)
return -1;
return 0;