#include "spreadsheet-reader.h"
+#include "gnumeric-reader.h"
+
#include <libpspp/str.h>
#include <stdio.h>
#include <string.h>
-
+#include <gl/xalloc.h>
+#include <gl/c-xvasprintf.h>
+#include <stdlib.h>
struct spreadsheet *
spreadsheet_open (const char *filename)
}
void
-spreadsheet_close (struct spreadsheet *spreadsheet)
+spreadsheet_close (UNUSED struct spreadsheet *spreadsheet)
{
}
i -= lower;
i += base;
- ret = malloc (exp);
+ ret = xmalloc (exp);
exp = 0;
do
cs0 = int_to_ps26 (col0);
csi = int_to_ps26 (coli);
- s = c_xasprintf ("%s%d:%s%ld",
+ s = c_xasprintf ("%s%d:%s%d",
cs0, row0 + 1,
csi, rowi + 1);
free (cs0);