summaryrefslogtreecommitdiffstats
path: root/compat
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2002-01-26 01:10:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2002-01-26 01:10:08 (GMT)
commit107d41756017e763fb66994fb0ba6072b20a7d2b (patch)
treee98bf2d4819a5270b97f764736441c86b9eb51e3 /compat
parent727dc02ba3e05c4df81068bc3fd0ac3a8c98328b (diff)
downloadtcl-107d41756017e763fb66994fb0ba6072b20a7d2b.zip
tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.gz
tcl-107d41756017e763fb66994fb0ba6072b20a7d2b.tar.bz2
* Sought out and eliminated instances of CONST-casting that are no
longer needed after the TIP 27 effort.
Diffstat (limited to 'compat')
-rw-r--r--compat/strstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/strstr.c b/compat/strstr.c
index de0c26a..c83c209 100644
--- a/compat/strstr.c
+++ b/compat/strstr.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: strstr.c,v 1.2 1998/09/14 18:39:45 stanton Exp $
+ * RCS: @(#) $Id: strstr.c,v 1.3 2002/01/26 01:10:08 dgp Exp $
*/
/*
@@ -64,5 +64,5 @@ strstr(string, substring)
}
b = substring;
}
- return (char *) 0;
+ return NULL;
}