Re: [PATCH 1/2] Move registering maint commands from maint.c to psymtalb.c

Tom Tromey
2012-12-19T14:23:14Z

>>>>> "Yao" == Yao Qi <yao@codesourcery.com> writes:

Yao> I don't see the reason we have to register 'maint commands' inside
Yao> maint.c. This patch moves code registering commands out of maint.c so
Yao> that the command functions can be 'static'.

Thanks.

Yao> +void _initialize_psymtab (void);

I've been writing

initialize_file_ftype _initialize_psymtab;

in similar cases.

Tom