projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(cmd_file_handle) Fix msg() bug found by -Wformat.
[pspp]
/
src
/
html.c
diff --git
a/src/html.c
b/src/html.c
index 037905ea08355c164ccfa634e35a39dc456b2948..fbb6b968d37074256606c23a1077b4fcfa10cb3b 100644
(file)
--- a/
src/html.c
+++ b/
src/html.c
@@
-14,8
+14,8
@@
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
- Foundation, Inc., 5
9 Temple Place - Suite 330
, Boston, MA
- 0211
1-1307
, USA. */
+ Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston, MA
+ 0211
0-1301
, USA. */
/* This #if encloses the rest of the file. */
#if !NO_HTML
/* This #if encloses the rest of the file. */
#if !NO_HTML
@@
-509,7
+509,7
@@
output_tab_table (struct outp_driver *this, struct tab_table *t)
fputs (" <TR>\n", x->file.file);
for (c = 0; c < t->nc; c++, ct++)
{
fputs (" <TR>\n", x->file.file);
for (c = 0; c < t->nc; c++, ct++)
{
- struct
len
_string *cc;
+ struct
fixed
_string *cc;
int tag;
char header[128];
char *cp;
int tag;
char header[128];
char *cp;
@@
-582,13
+582,8
@@
output_tab_table (struct outp_driver *this, struct tab_table *t)
fputs ("</TABLE>\n\n", x->file.file);
}
fputs ("</TABLE>\n\n", x->file.file);
}
-
-void html_initialise_chart(struct outp_class *c, struct chart *ch);
-void html_finalise_chart(struct outp_class *c, struct chart *ch);
-
-
-void
-html_initialise_chart(struct outp_class *c UNUSED, struct chart *ch)
+static void
+html_initialise_chart(struct outp_driver *d UNUSED, struct chart *ch)
{
FILE *fp;
{
FILE *fp;
@@
-604,8
+599,8
@@
html_initialise_chart(struct outp_class *c UNUSED, struct chart *ch)
}
}
-void
-html_finalise_chart(struct outp_
class *c
UNUSED, struct chart *ch)
+
static
void
+html_finalise_chart(struct outp_
driver *d
UNUSED, struct chart *ch)
{
free(ch->filename);
}
{
free(ch->filename);
}