summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/CanvTkwin.32
-rw-r--r--doc/ParseArgv.310
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/CanvTkwin.3 b/doc/CanvTkwin.3
index 6ae3d97..5cb29fa 100644
--- a/doc/CanvTkwin.3
+++ b/doc/CanvTkwin.3
@@ -144,7 +144,7 @@ like this:
.PP
.CS
static const Tk_CustomOption tagsOption = {Tk_CanvasTagsParseProc,
- Tk_CanvasTagsPrintProc, (ClientData) NULL
+ Tk_CanvasTagsPrintProc, NULL
};
static const Tk_ConfigSpec configSpecs[] = {
diff --git a/doc/ParseArgv.3 b/doc/ParseArgv.3
index b6362bd..4d85d15 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)