This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix declaration of obsavestring


On 10 Oct 2002 13:03:51 -0700, David Carlton <carlton@math.Stanford.EDU> said:


I recently wanted to use obsavestring, and I noticed that its
declaration wasn't as good as it could be: the first argument might
as well be a const char *, and there should be an opaque declaration
for struct obstack somewhere.

Here's a patch for that; it seems obvious, so I'll commit it in a
few days if nobody objects.

Committed.
Thanks!

Little by little, ``const char *'' gets push through GDB :-)

Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]