summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-08-16 10:20:19 (GMT)
committernijtmans <nijtmans>2009-08-16 10:20:19 (GMT)
commit0df63f4a63fa3825fa00a0744a5d4868cebf3fd2 (patch)
treec2b211d55ab62da0083b9373731797c9c08438ca /unix
parent0c4df9767cafc8b3a0d1c1e472b87610bfa7a84f (diff)
downloadtcl-0df63f4a63fa3825fa00a0744a5d4868cebf3fd2.zip
tcl-0df63f4a63fa3825fa00a0744a5d4868cebf3fd2.tar.gz
tcl-0df63f4a63fa3825fa00a0744a5d4868cebf3fd2.tar.bz2
const addition (pkge.c)
Use <pthread.h> in stead of "pthread.h" Eliminate some more gcc warnings
Diffstat (limited to 'unix')
-rw-r--r--unix/dltest/pkge.c4
-rw-r--r--unix/tclUnixThrd.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/dltest/pkge.c b/unix/dltest/pkge.c
index a64ba26..827ee4e 100644
--- a/unix/dltest/pkge.c
+++ b/unix/dltest/pkge.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: pkge.c,v 1.10 2007/12/13 15:28:43 dgp Exp $
+ * RCS: @(#) $Id: pkge.c,v 1.11 2009/08/16 10:20:20 nijtmans Exp $
*/
#include "tcl.h"
@@ -38,7 +38,7 @@ Pkge_Init(
Tcl_Interp *interp) /* Interpreter in which the package is to be
* made available. */
{
- static char script[] = "if 44 {open non_existent}";
+ static const char script[] = "if 44 {open non_existent}";
if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL) {
return TCL_ERROR;
diff --git a/unix/tclUnixThrd.c b/unix/tclUnixThrd.c
index eac1bc8..b4ba1a0 100644
--- a/unix/tclUnixThrd.c
+++ b/unix/tclUnixThrd.c
@@ -10,14 +10,14 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclUnixThrd.c,v 1.60 2008/08/13 23:08:39 das Exp $
+ * RCS: @(#) $Id: tclUnixThrd.c,v 1.61 2009/08/16 10:20:20 nijtmans Exp $
*/
#include "tclInt.h"
#ifdef TCL_THREADS
-#include "pthread.h"
+#include <pthread.h>
typedef struct ThreadSpecificData {
char nabuf[16];