summaryrefslogtreecommitdiffstats
path: root/doc/ParseArgv.3
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-27 22:33:24 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2018-11-27 22:33:24 (GMT)
commitfb5142cb5e53bc33637e51d1259c380bc22a1dee (patch)
tree28996a9c1d52511e2dddcada915f8a901a3ea378 /doc/ParseArgv.3
parentbe4368883a4540bcf3da8dec02e210e839354bbf (diff)
downloadtk-fb5142cb5e53bc33637e51d1259c380bc22a1dee.zip
tk-fb5142cb5e53bc33637e51d1259c380bc22a1dee.tar.gz
tk-fb5142cb5e53bc33637e51d1259c380bc22a1dee.tar.bz2
Remove unnecessary type-casts from doc examples
Diffstat (limited to 'doc/ParseArgv.3')
-rw-r--r--doc/ParseArgv.310
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/ParseArgv.3 b/doc/ParseArgv.3
index 3a9bd49..7749d92 100644
--- a/doc/ParseArgv.3
+++ b/doc/ParseArgv.3
@@ -314,14 +314,14 @@ Boolean exec = FALSE;
Tk_ArgvInfo argTable[] = {
{"\-X", TK_ARGV_CONSTANT, (char *) 1, (char *) &debugFlag,
"Turn on debugging printfs"},
- {"\-N", TK_ARGV_INT, (char *) NULL, (char *) &numReps,
+ {"\-N", TK_ARGV_INT, NULL, (char *) &numReps,
"Number of repetitions"},
- {"\-of", TK_ARGV_STRING, (char *) NULL, (char *) &fileName,
+ {"\-of", TK_ARGV_STRING, NULL, (char *) &fileName,
"Name of file for output"},
- {"x", TK_ARGV_REST, (char *) NULL, (char *) &exec,
+ {"x", TK_ARGV_REST, NULL, (char *) &exec,
"File to exec, followed by any arguments (must be last argument)."},
- {(char *) NULL, TK_ARGV_END, (char *) NULL, (char *) NULL,
- (char *) NULL}
+ {NULL, TK_ARGV_END, NULL, NULL,
+ NULL}
};
main(argc, argv)