+2003-09-15 Anthony Green <green@redhat.com>
+
+ * dlltool.c (prefix_encode): Fix ISO C90 conversion.
+ (dlltmp): Ditto.
+ (dtab): Ditto.
+
2003-09-14 Andreas Jaeger <aj@suse.de>
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
static void inform (const char *, ...);
static char *
-prefix_encode (char *start, unsigned code))
+prefix_encode (char *start, unsigned code)
{
static char alpha[26] = "abcdefghijklmnopqrstuvwxyz";
static char buf[32];
char *p;
- strcpy (buf, start;
+ strcpy (buf, start);
p = strchr (buf, '\0');
do
*p++ = alpha[code % sizeof (alpha)];
}
static char *
-dlltmp (char **buf, const char *fmt))
+dlltmp (char **buf, const char *fmt)
{
if (!*buf)
{
- *buf = malloc (strlen (tmp_prefix) + 64;
+ *buf = malloc (strlen (tmp_prefix) + 64);
sprintf (*buf, fmt, tmp_prefix);
}
return *buf;
}
static void
-dtab (export **ptr
+dtab (export_type **ptr
#ifndef SACDEBUG
ATTRIBUTE_UNUSED
#endif