From: wesommer Date: Thu, 3 Sep 1987 04:08:43 +0000 (+0000) Subject: strsave is now part of the sms library. X-Git-Tag: BETA5-24-88~63 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/d35f67566240b15ddb0fedab48c55869da1f368e strsave is now part of the sms library. --- diff --git a/clients/mailmaint/mailmaint.c b/clients/mailmaint/mailmaint.c index 7c150cff..d69bb4b0 100644 --- a/clients/mailmaint/mailmaint.c +++ b/clients/mailmaint/mailmaint.c @@ -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() {