summaryrefslogtreecommitdiff
path: root/vmsfunctions.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2000-02-05 07:50:47 +0000
committerPaul Smith <psmith@gnu.org>2000-02-05 07:50:47 +0000
commit90f23f1ea6e436d681db81aa80edb7a763de2b12 (patch)
tree46bec7ceab500e7b088994e773d336d5c1f89915 /vmsfunctions.c
parent9b0a3d91ea594ff1afe7b8ec83ff41ba828d243b (diff)
downloadgunmake-90f23f1ea6e436d681db81aa80edb7a763de2b12.tar.gz
* Updates for VMS, Windows, and DOS ports.
* Clean up some warnings.
Diffstat (limited to 'vmsfunctions.c')
-rw-r--r--vmsfunctions.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/vmsfunctions.c b/vmsfunctions.c
index 69ba28c..f6708cc 100644
--- a/vmsfunctions.c
+++ b/vmsfunctions.c
@@ -73,13 +73,11 @@ readdir (dir)
dnam->nam$l_rsa = dir->d_result;
dnam->nam$b_rss = MAXNAMLEN;
- if (debug_flag)
- printf (".");
+ DB (DB_VERBOSE, ("."));
if (!((i = sys$search (dfab)) & 1))
{
- if (debug_flag)
- printf ("sys$search failed with %d\n", i);
+ DB (DB_VERBOSE, (_("sys$search failed with %d\n"), i));
return (NULL);
}
@@ -248,22 +246,6 @@ cvt_time (tval)
return (str);
}
-
-int
-strcmpi (s1, s2)
- const char *s1;
- const char *s2;
-{
- while (*s1 != '\0' && toupper(*s1) == toupper(*s2))
- {
- s1++;
- s2++;
- }
-
- return toupper(*(unsigned char *) s1) - toupper(*(unsigned char *) s2);
-}
-
-
int
strcmpi (s1, s2)
const char *s1;