Two minor changes in ctfread.c
authorTom Tromey <tom@tromey.com>
Mon, 27 Jan 2020 01:43:17 +0000 (18:43 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 27 Jan 2020 01:44:41 +0000 (18:44 -0700)
I noticed a couple of minor issues in ctfread.c, both fixed by this
patch:

* ctf_fp_info was not indented properly; and
* _initialize_ctfread is no longer needed

gdb/ChangeLog
2020-01-26  Tom Tromey  <tom@tromey.com>

* ctfread.c (struct ctf_fp_info): Reindent.
(_initialize_ctfread): Remove.

Change-Id: I72707b74bc59e6e426b3a7bc8843d96c0d786f1e

gdb/ChangeLog
gdb/ctfread.c

index 77e52f3c5a4b90b172f715eb42e448c076e692ad..8b6da62bd4986f475642225d5d8a6f9b22d48394 100644 (file)
@@ -1,3 +1,8 @@
+2020-01-26  Tom Tromey  <tom@tromey.com>
+
+       * ctfread.c (struct ctf_fp_info): Reindent.
+       (_initialize_ctfread): Remove.
+
 2020-01-26  Tom Tromey  <tom@tromey.com>
 
        * psymtab.c (partial_map_expand_apply)
index d363ce6a11da7f2587ef360fda6b6cdc75efde93..844ab7b9db7de85560ffdda166025fa7c6286417 100644 (file)
@@ -88,9 +88,9 @@ static const struct objfile_key<htab, htab_deleter> ctf_tid_key;
 
 struct ctf_fp_info
 {
-    explicit ctf_fp_info (ctf_file_t *cfp) : fp (cfp) {}
-    ~ctf_fp_info ();
-    ctf_file_t *fp;
+  explicit ctf_fp_info (ctf_file_t *cfp) : fp (cfp) {}
+  ~ctf_fp_info ();
+  ctf_file_t *fp;
 };
 
 /* Cleanup function for the ctf_file_key data.  */
@@ -1485,9 +1485,3 @@ elfctf_build_psymtabs (struct objfile *of)
 
   scan_partial_symbols (fp, of);
 }
-
-void _initialize_ctfread ();
-void
-_initialize_ctfread ()
-{
-}