Re: [PATCH 2/4] Remove cleanup from procfs.c

Tom Tromey
2018-09-04T16:56:11Z

>>>>> "Rainer" == Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

Rainer> I've now regtested the patch on amd64-pc-solaris2.11.

Thank you for doing this.

Rainer> /vol/src/gnu/gdb/hg/master/dist/gdb/procfs.c:275:13: error: ‘void do_destroy_procinfo_cleanup(void*)’ declared ‘static’ but never defined [-Werror=unused-function]
Rainer> static void do_destroy_procinfo_cleanup (void *);
Rainer> ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Rainer> by removing the unnecessary declaration, testing passed without
Rainer> regressions (as far as I can tell with racy tests etc.).

I've removed the declaration on my branch.

Tom