This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/4] Make obstack_strdup inline
On Sat, 3 Aug 2019 20:51:08 -0600
Tom Tromey <tom@tromey.com> wrote:
> This changes obstack_strdup to be an inline function. This seems
> better to me, considering how small it is; but also it follows what
> the code did before the previous patch.
>
> gdb/ChangeLog
> 2019-08-03 Tom Tromey <tom@tromey.com>
>
> * gdb_obstack.h (obstack_strdup): Define.
> * gdb_obstack.c (obstack_strdup): Don't define.
LGTM.
Kevin