summaryrefslogtreecommitdiff
path: root/riscos/about.c
diff options
context:
space:
mode:
authorRob Jackson <jacko@xms.ms>2004-01-26 22:55:23 +0000
committerRob Jackson <jacko@xms.ms>2004-01-26 22:55:23 +0000
commitc05a832714f2eafd8dacd9307bd8257193ab1fdf (patch)
tree43c3e6f11c4d393805bb9d974d14c7187446b8c1 /riscos/about.c
parent23c204d575cbcb70d81148cd0e41e2b8370bf13c (diff)
downloadnetsurf-c05a832714f2eafd8dacd9307bd8257193ab1fdf.tar.gz
netsurf-c05a832714f2eafd8dacd9307bd8257193ab1fdf.tar.bz2
[project @ 2004-01-26 22:55:23 by rob]
Changes in positioning of variable declarations to allow compile with 2.95.5 compiler again svn path=/import/netsurf/; revision=512
Diffstat (limited to 'riscos/about.c')
-rw-r--r--riscos/about.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/about.c b/riscos/about.c
index 1560c6306..db28a1c32 100644
--- a/riscos/about.c
+++ b/riscos/about.c
@@ -177,12 +177,14 @@ void about_create(void) {
continue;
}
else {
+ void *name;
+
/* Type 3: image file with name xxwwwwhhhh */
/* get actual file name */
sprintf(var, "%2.2d*", j);
LOG(("var: %s", var));
- void *name = (void*)xcalloc((unsigned int)20, sizeof(char));
+ name = (void*)xcalloc((unsigned int)20, sizeof(char));
e = xosgbpb_dir_entries(val, (osgbpb_string_list*)name,
1, 0, 255, var, NULL, NULL);