diff options
author | nijtmans <nijtmans> | 2008-11-05 22:48:58 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2008-11-05 22:48:58 (GMT) |
commit | 2d48ae8ff78acce1c21210e9e27220ad5e22e877 (patch) | |
tree | 01bfd4c701cdce4cf358e8bbc735ae929b1ab2f0 /unix/tkUnixCursor.c | |
parent | 436906415b673fbac6d7ce14621ad07a9a78b4a2 (diff) | |
download | tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.zip tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.gz tk-2d48ae8ff78acce1c21210e9e27220ad5e22e877.tar.bz2 |
CONSTify string and fileName parameters of TkGetBitmapData
more internal -Wwrite-string warning fixes
Diffstat (limited to 'unix/tkUnixCursor.c')
-rw-r--r-- | unix/tkUnixCursor.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unix/tkUnixCursor.c b/unix/tkUnixCursor.c index 103fd13..59c415a 100644 --- a/unix/tkUnixCursor.c +++ b/unix/tkUnixCursor.c @@ -8,7 +8,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkUnixCursor.c,v 1.14 2008/04/27 22:39:13 dkf Exp $ + * RCS: @(#) $Id: tkUnixCursor.c,v 1.15 2008/11/05 22:48:58 nijtmans Exp $ */ #include "tkInt.h" @@ -163,7 +163,7 @@ static const struct CursorName { static const struct TkCursorName { const char *name; - char *data; + const char *data; char *mask; } tkCursorNames[] = { {"none", CURSOR_NONE_DATA, NULL}, @@ -184,7 +184,7 @@ static const struct TkCursorName { static Cursor CreateCursorFromTableOrFile(Tcl_Interp *interp, Tk_Window tkwin, int argc, const char **argv, const struct TkCursorName *tkCursorPtr); - + /* *---------------------------------------------------------------------- * @@ -550,7 +550,7 @@ CreateCursorFromTableOrFile( } return cursor; } - + /* *---------------------------------------------------------------------- * @@ -600,7 +600,7 @@ TkCreateCursorFromData( } return (TkCursor *) cursorPtr; } - + /* *---------------------------------------------------------------------- * @@ -627,7 +627,7 @@ TkpFreeCursor( XFreeCursor(unixCursorPtr->display, (Cursor) unixCursorPtr->info.cursor); Tk_FreeXId(unixCursorPtr->display, (XID) unixCursorPtr->info.cursor); } - + /* * Local Variables: * mode: c |