strcasecmp prototype

Ulrich Weigand uweigand@de.ibm.com
Thu Nov 8 21:07:00 GMT 2007


Aleksandar Ristovski wrote:

> The attached patch adds #include <strings.h> to gdb_string.h. It is needed
> for c-exp.y, for strcasecmp declaration.

It looks like this is provided in <string.h> by glibc headers,
but this is really an extension; <strings.h> is the place POSIX
says should be used for strcasecmp ...

So I guess the patch is the right thing to do.


> 2007-11-06  Aleksandar Ristovski <aristovski@qnx.com>
> 
>         * gdb_string.h: Include <strings.h>.

I've committed this.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list