* symfile.c (compare_psymbols, compare_symbols): Declare using
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 29 May 2001 10:45:10 +0000 (10:45 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 29 May 2001 10:45:10 +0000 (10:45 +0000)
PTR, as in the definition.
* minsyms.c (compare_minimal_symbols): Likewise.
* coffread.c (find_targ_sec): Likewise.
* elfread.c (free_elfinfo, elf_locate_sections): Likewise.
* mipsread.c (alphacoff_locate_sections): Likewise.
* mdebugread.c (compare_blocks): Likewise.

gdb/ChangeLog
gdb/coffread.c
gdb/elfread.c
gdb/mdebugread.c
gdb/minsyms.c
gdb/mipsread.c

index 0dee0853f6a23fc104a1351d609ca439a4d457b5..4b1253b1c6c5239a0f220a62fcc4d49b9beb9c20 100644 (file)
@@ -2,6 +2,11 @@
 
        * symfile.c (compare_psymbols, compare_symbols): Declare using
        PTR, as in the definition.
+       * minsyms.c (compare_minimal_symbols): Likewise.
+       * coffread.c (find_targ_sec): Likewise.
+       * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
+       * mipsread.c (alphacoff_locate_sections): Likewise.
+       * mdebugread.c (compare_blocks): Likewise.
 
 2001-05-25  Nick Duffek  <nsd@redhat.com>
 
index a343a6825d5285133678e0875ccb8393e4cedc20..fddf1e6cebfa4aad82c0aae17d049b27e65e95f1 100644 (file)
@@ -312,7 +312,7 @@ struct find_targ_sec_arg
     asection **resultp;
   };
 
-static void find_targ_sec (bfd *, asection *, void *);
+static void find_targ_sec (bfd *, asection *, PTR);
 
 static void
 find_targ_sec (bfd *abfd, asection *sect, PTR obj)
index 71e383dc187cb8c95c82ea8303987af7bbbcad45..4394e5a51877e6c2325bee142c384b7aac3d0619 100644 (file)
@@ -76,7 +76,7 @@ static void elf_symfile_finish (struct objfile *);
 
 static void elf_symtab_read (struct objfile *, int);
 
-static void free_elfinfo (void *);
+static void free_elfinfo (PTR);
 
 static struct minimal_symbol *record_minimal_symbol_and_info (char *,
                                                              CORE_ADDR,
@@ -88,7 +88,7 @@ static struct minimal_symbol *record_minimal_symbol_and_info (char *,
                                                              struct objfile
                                                              *);
 
-static void elf_locate_sections (bfd *, asection *, void *);
+static void elf_locate_sections (bfd *, asection *, PTR);
 
 /* We are called once per section from elf_symfile_read.  We
    need to examine each section we are passed, check to see
index 401a09ee086a76d47d147d79cbff8209b2727dfd..aab357e005e5779f1906275b3566944baa52359e 100644 (file)
@@ -378,7 +378,7 @@ static PTR xzalloc (unsigned int);
 
 static void sort_blocks (struct symtab *);
 
-static int compare_blocks (const void *, const void *);
+static int compare_blocks (const PTR, const PTR);
 
 static struct partial_symtab *new_psymtab (char *, struct objfile *);
 
index 0ed38d2a33a2e8e63b63f35420a68879f70e2597..94817474318624be4245081d0bd6bff27ed0734e 100644 (file)
@@ -77,7 +77,7 @@ static int msym_count;
 
 /* Prototypes for local functions. */
 
-static int compare_minimal_symbols (const void *, const void *);
+static int compare_minimal_symbols (const PTR, const PTR);
 
 static int
 compact_minimal_symbols (struct minimal_symbol *, int, struct objfile *);
index dac06fc001dc690b1586acf0ef0c283a03c8a7f0..17a8fb7427e1ed9412041f40be8ada381737122a 100644 (file)
@@ -185,7 +185,7 @@ struct alphacoff_dynsecinfo
     asection *got_sect;                /* Section pointer for .got section */
   };
 
-static void alphacoff_locate_sections (bfd *, asection *, void *);
+static void alphacoff_locate_sections (bfd *, asection *, PTR);
 
 /* We are called once per section from read_alphacoff_dynamic_symtab.
    We need to examine each section we are passed, check to see
This page took 0.051592 seconds and 4 git commands to generate.