+Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com>
+
+ * dwarf2read.c (struct filenames): Change internal "struct file"
+ to "struct fileinfo" to avoid conflict with "struct file" in
+ <sys/file.h> on HPUX and Solaris.
+
Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
* gdbtk.tcl (delete_expr): Unset corresponding element of
struct filenames
{
int num_files;
- struct file
+ struct fileinfo
{
char *name;
unsigned int dir;
if ((files.num_files % FILE_ALLOC_CHUNK) == 0)
{
files.files = xrealloc (files.files,
- (files.num_files + FILE_ALLOC_CHUNK) * sizeof (struct file));
+ (files.num_files + FILE_ALLOC_CHUNK) * sizeof (struct fileinfo));
}
files.files[files.num_files].name = cur_file;
files.files[files.num_files].dir = read_unsigned_leb128 (abfd,
{
files.files = xrealloc (files.files,
(files.num_files + FILE_ALLOC_CHUNK)
- * sizeof (struct file));
+ * sizeof (struct fileinfo));
}
files.files[files.num_files].name = cur_file;
files.files[files.num_files].dir = read_unsigned_leb128 (