Remove a few unused opr/util components
[openafs.git] / src / opr / casestrcpy.c
index 37f5c4c..31cfe11 100644 (file)
@@ -23,7 +23,6 @@ lcstring(char *d, const char *s, int n)
     char *original_d = d;
     char c;
 
-    opr_Assert(s != NULL && d != NULL);
     while (n) {
        c = *s++;
        if (isupper(c))
@@ -43,7 +42,6 @@ ucstring(char *d, const char *s, int n)
     char *original_d = d;
     char c;
 
-    opr_Assert(s != NULL && d != NULL);
     while (n) {
        c = *s++;
        if (islower(c))
@@ -68,17 +66,6 @@ stolower(char *s)
     return;
 }
 
-void
-stoupper(char *s)
-{
-  while (*s) {
-        if (islower(*s))
-            *s = toupper(*s);
-        s++;
-    }
-    return;
-}
-
 /* strcompose - concatenate strings passed to it.
  * Input:
  *   buf: storage for the composed string. Any data in it will be lost.
@@ -95,7 +82,6 @@ strcompose(char *buf, size_t len, ...)
     char *str;
     size_t slen;
 
-    opr_Assert(buf != NULL);
     if (len <= 0)
        return NULL;