Protoization.
[deliverable/binutils-gdb.git] / gdb / xcoffsolib.c
index 5485c5e4f955d65d1bd9185f83d0684d278d81b4..84b46eecdff6fd3f93cb39fd3ea5fafca29c31c4 100644 (file)
@@ -34,7 +34,7 @@
    hook is initialized in by rs6000-nat.c.  If not, it is currently left
    NULL and never called. */
 
-void (*xcoff_relocate_symtab_hook) PARAMS ((unsigned int)) = NULL;
+void (*xcoff_relocate_symtab_hook) (unsigned int) = NULL;
 
 #ifdef SOLIB_SYMBOLS_MANUAL
 
@@ -45,10 +45,7 @@ extern int current_source_line;
    the section list.  */
 
 void
-solib_add (arg_string, from_tty, target)
-     char *arg_string;
-     int from_tty;
-     struct target_ops *target;
+solib_add (char *arg_string, int from_tty, struct target_ops *target)
 {
   char *val;
   struct vmap *vp = vmap;
@@ -116,7 +113,7 @@ solib_add (arg_string, from_tty, target)
 
          syms_from_objfile (obj, NULL, 0, 0);
          new_symfile_objfile (obj, 0, 0);
-         vmap_symtab (vp, 0, 0);
+         vmap_symtab (vp);
          printf_unfiltered ("Done.\n");
          loaded = vp->loaded = 1;
        }
@@ -143,8 +140,7 @@ solib_add (arg_string, from_tty, target)
    is not persistent. */
 
 char *
-pc_load_segment_name (addr)
-     CORE_ADDR addr;
+pc_load_segment_name (CORE_ADDR addr)
 {
   static char buffer[BUFSIZ];
   struct vmap *vp = vmap;
@@ -165,12 +161,10 @@ pc_load_segment_name (addr)
   return "(unknown load module)";
 }
 
-static void solib_info PARAMS ((char *, int));
+static void solib_info (char *, int);
 
 static void
-solib_info (args, from_tty)
-     char *args;
-     int from_tty;
+solib_info (char *args, int from_tty)
 {
   struct vmap *vp = vmap;
 
@@ -204,9 +198,7 @@ Text Range          Data Range              Syms    Shared Object Library\n");
 }
 
 void
-sharedlibrary_command (args, from_tty)
-     char *args;
-     int from_tty;
+sharedlibrary_command (char *args, int from_tty)
 {
   dont_repeat ();
 
@@ -220,7 +212,7 @@ sharedlibrary_command (args, from_tty)
 }
 
 void
-_initialize_solib ()
+_initialize_solib (void)
 {
   add_com ("sharedlibrary", class_files, sharedlibrary_command,
           "Load shared object library symbols for files matching REGEXP.");
This page took 0.024656 seconds and 4 git commands to generate.