]> andersk Git - moira.git/blobdiff - clients/mailmaint/mailmaint.c
strsave is now part of the sms library.
[moira.git] / clients / mailmaint / mailmaint.c
index 7c150cffe6537fd49c16079db43b17ea3c6078b8..d69bb4b0b51f1f7be20a9deffd24c8da9091a0b8 100644 (file)
@@ -52,9 +52,8 @@ static int fetch_list_info();
 
 char *malloc();
 char *rindex();
-char *strcpy();
 char *getlogin();
-char *strsave();
+extern char *strsave();
 char *getenv();
 char *calloc();
 
@@ -780,22 +779,7 @@ clrwin(erase_row)
 }
 
 /****************************************************/
-char *
-strsave(s)
-    char *s;
-{
-    char *p;
-
-    if ((p = calloc((unsigned)1, (unsigned)(strlen(s) + 1))) != NULL) {
-       (void) strcpy(p, s);
-    }
-    else
-       Put_message("error in alloc\n\r");
-    return (p);
-}
 
-/****************************************************/
-/* jean's routine ??? */
 static void 
 scream()
 {
This page took 0.064055 seconds and 4 git commands to generate.