diff options
author | nijtmans <nijtmans> | 2009-08-16 10:20:19 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-16 10:20:19 (GMT) |
commit | 0df63f4a63fa3825fa00a0744a5d4868cebf3fd2 (patch) | |
tree | c2b211d55ab62da0083b9373731797c9c08438ca /unix/dltest | |
parent | 0c4df9767cafc8b3a0d1c1e472b87610bfa7a84f (diff) | |
download | tcl-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/dltest')
-rw-r--r-- | unix/dltest/pkge.c | 4 |
1 files changed, 2 insertions, 2 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; |