This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] Create cleanups.[ch]
- From: Tom Tromey <tromey at redhat dot com>
- To: Sergio Durigan Junior <sergiodj at redhat dot com>
- Cc: Doug Evans <dje at sebabeach dot org>, gdb-patches at sourceware dot org
- Date: Mon, 16 Apr 2012 14:06:23 -0600
- Subject: Re: [patch] Create cleanups.[ch]
- References: <m3hawkhjde.fsf@annie.sebabeach.org> <m3mx6cjmo9.fsf@redhat.com>
>>>>> "Sergio" == Sergio Durigan Junior <sergiodj@redhat.com> writes:
Sergio> I also never know what's the best/recommended practice: to put the
Sergio> comments above the function's declaration (in this case, in the
Sergio> cleanups.h file), or to put comments above the function definition (as
Sergio> you did). Maybe someone more experienced can clarify.
There's no consensus.
Tom