summaryrefslogtreecommitdiff
path: root/xc/lib/Xt/Intrinsic.c
diff options
context:
space:
mode:
authorkaleb <empty>1993-09-18 18:11:19 +0000
committerkaleb <empty>1993-09-18 18:11:19 +0000
commite9a5d4962154acbf3e2e70946326768c0f6c7580 (patch)
tree29d40fc58e0fda9dbc23879640b5de0c26181216 /xc/lib/Xt/Intrinsic.c
parentbee97e645199946418aaa1ea2b227494a65b81ce (diff)
ANSI-fication
Diffstat (limited to 'xc/lib/Xt/Intrinsic.c')
-rw-r--r--xc/lib/Xt/Intrinsic.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/xc/lib/Xt/Intrinsic.c b/xc/lib/Xt/Intrinsic.c
index d16dfb282..2d372978f 100644
--- a/xc/lib/Xt/Intrinsic.c
+++ b/xc/lib/Xt/Intrinsic.c
@@ -1,4 +1,4 @@
-/* $XConsortium: Intrinsic.c,v 1.178 93/09/11 14:01:13 kaleb Exp $ */
+/* $XConsortium: Intrinsic.c,v 1.179 93/09/12 11:23:01 rws Exp $ */
/***********************************************************
Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
@@ -914,7 +914,7 @@ String XtFindFile(path, substitutions, num_substitutions, predicate)
while (1) {
start = (String)path;
while (1) {
- colon = index(start, ':');
+ colon = strchr(start, ':');
if (colon == NULL) break;
if (colon == path) {start++; path++; continue; }
if (*(colon-1) != '%') break;
@@ -1031,7 +1031,7 @@ static void FillInLangSubs(subs, pd)
*p1 = *p2 = *p3 = '\0';
- ch = index(string, '_');
+ ch = strchr(string, '_');
if (ch != NULL) {
len = ch - string;
(void) strncpy(p1, string, len);
@@ -1042,7 +1042,7 @@ static void FillInLangSubs(subs, pd)
/* Rest points to where we put the first part */
- ch = index(string, '.');
+ ch = strchr(string, '.');
if (ch != NULL) {
len = ch - string;
strncpy(*rest, string, len);