summaryrefslogtreecommitdiffstats
path: root/compat/string.h
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-04-29 09:23:57 (GMT)
committernijtmans <nijtmans>2010-04-29 09:23:57 (GMT)
commit189dc0720d07929d20d63d408619de129f31c478 (patch)
treea57cd5c0fde46086d5e02bda1ebb52d265eb531c /compat/string.h
parentdd801c86b1a462d516d4e3b97e459fc41a4be684 (diff)
downloadtcl-189dc0720d07929d20d63d408619de129f31c478.zip
tcl-189dc0720d07929d20d63d408619de129f31c478.tar.gz
tcl-189dc0720d07929d20d63d408619de129f31c478.tar.bz2
Include "tcl.h", not <tcl.h>,
like everywhere else, to insure that the version in the Tcl distribution is used, not some version from somewhere else.
Diffstat (limited to 'compat/string.h')
-rw-r--r--compat/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/string.h b/compat/string.h
index e452183..0be1ec1 100644
--- a/compat/string.h
+++ b/compat/string.h
@@ -9,13 +9,13 @@
* 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.8 2008/05/02 10:27:04 dkf Exp $
+ * RCS: @(#) $Id: string.h,v 1.9 2010/04/29 09:23:57 nijtmans Exp $
*/
#ifndef _STRING
#define _STRING
-#include <tcl.h>
+#include "tcl.h"
/*
* The following #include is needed to define size_t. (This used to include
@@ -50,7 +50,7 @@ extern char * strerror(int error);
extern size_t strlen(const char *string);
extern int strncasecmp(const char *s1, const char *s2, size_t n);
extern char * strncat(char *dst, const char *src, size_t numChars);
-extern int strncmp(const char *s1, const char *s2,size_t nChars);
+extern int strncmp(const char *s1, const char *s2, size_t nChars);
extern char * strncpy(char *dst, const char *src, size_t numChars);
extern char * strpbrk(const char *string, const char *chars);
extern char * strrchr(const char *string, int c);