3 Copyright (C) 1995, 1998, 1999, 2000, 2001, 2004, 2007, 2008, 2009, 2010,
4 2011 Free Software Foundation, Inc.
6 This file is part of GDB.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>. */
21 #if !defined(GDB_STRING_H)
27 #include <strings.h> /* strcasecmp etc.. */
37 extern char *strchr (const char *, int); /* X3.159-1989 4.11.5.2 */
41 extern char *strrchr (const char *, int); /* X3.159-1989 4.11.5.5 */
45 extern char *strtok (char *, const char *); /* X3.159-1989 4.11.5.8 */
51 extern void *memset ();
52 extern void *memcpy ();
53 extern void *memmove ();
56 #endif /* STDC_HEADERS */
58 #if !HAVE_DECL_STRERROR
60 extern char *strerror (int); /* X3.159-1989 4.11.6.2 */
66 extern char *strstr (const char *, const char *); /* X3.159-1989 4.11.5.7 */
70 #endif /* !defined(GDB_STRING_H) */