diff options
author | ericm <ericm> | 2000-07-18 18:16:17 (GMT) |
---|---|---|
committer | ericm <ericm> | 2000-07-18 18:16:17 (GMT) |
commit | 25ae774988b1ff08384886cc62c07f67a0d1d979 (patch) | |
tree | 022b0da20d675961a69de89d8119ba475848c4b5 /compat/string.h | |
parent | 9a65c2caeb04cecfe5f19cc12ae598fcc2c8645c (diff) | |
download | tcl-25ae774988b1ff08384886cc62c07f67a0d1d979.zip tcl-25ae774988b1ff08384886cc62c07f67a0d1d979.tar.gz tcl-25ae774988b1ff08384886cc62c07f67a0d1d979.tar.bz2 |
* compat/string.h: Fixed function prototypes for strpbrk and
strtok [Bug: 6020].
Diffstat (limited to 'compat/string.h')
-rw-r--r-- | compat/string.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/compat/string.h b/compat/string.h index b7a0653..37e5140 100644 --- a/compat/string.h +++ b/compat/string.h @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: string.h,v 1.3 1999/04/16 00:46:30 stanton Exp $ + * RCS: @(#) $Id: string.h,v 1.4 2000/07/18 18:16:17 ericm Exp $ */ #ifndef _STRING @@ -59,12 +59,13 @@ extern int strncmp _ANSI_ARGS_((CONST char *s1, CONST char *s2, size_t nChars)); extern char * strncpy _ANSI_ARGS_((char *dst, CONST char *src, size_t numChars)); -extern char * strpbrk _ANSI_ARGS_((CONST char *string, char *chars)); +extern char * strpbrk _ANSI_ARGS_((CONST char *string, + CONST char *chars)); extern char * strrchr _ANSI_ARGS_((CONST char *string, int c)); extern size_t strspn _ANSI_ARGS_((CONST char *string, CONST char *chars)); extern char * strstr _ANSI_ARGS_((CONST char *string, CONST char *substring)); -extern char * strtok _ANSI_ARGS_((CONST char *s, CONST char *delim)); +extern char * strtok _ANSI_ARGS_((char *s, CONST char *delim)); #endif /* _STRING */ |