undelete -> undeletecmd, to avoid conflict with syscall.

This commit is contained in:
mycroft 1994-12-28 13:16:12 +00:00
parent 3e21f75b0e
commit b5c23110da
3 changed files with 5 additions and 5 deletions

View File

@ -33,7 +33,7 @@
#ifndef lint
static char sccsid[] = "from: @(#)cmd2.c 8.1 (Berkeley) 6/6/93";
static char rcsid[] = "$Id: cmd2.c,v 1.3 1994/06/29 05:09:09 deraadt Exp $";
static char rcsid[] = "$Id: cmd2.c,v 1.4 1994/12/28 13:16:12 mycroft Exp $";
#endif /* not lint */
#include "rcv.h"
@ -346,7 +346,7 @@ delm(msgvec)
* Undelete the indicated messages.
*/
int
undelete(msgvec)
undeletecmd(msgvec)
int *msgvec;
{
register struct message *mp;

View File

@ -33,7 +33,7 @@
#ifndef lint
static char sccsid[] = "from: @(#)cmdtab.c 8.1 (Berkeley) 6/6/93";
static char rcsid[] = "$Id: cmdtab.c,v 1.3 1994/06/29 05:09:13 deraadt Exp $";
static char rcsid[] = "$Id: cmdtab.c,v 1.4 1994/12/28 13:16:14 mycroft Exp $";
#endif /* not lint */
#include "def.h"
@ -59,7 +59,7 @@ struct cmd cmdtab[] = {
"delete", delete, W|P|MSGLIST, 0, MMNDEL,
"dp", deltype, W|MSGLIST, 0, MMNDEL,
"dt", deltype, W|MSGLIST, 0, MMNDEL,
"undelete", undelete, P|MSGLIST, MDELETED,MMNDEL,
"undelete", undeletecmd, P|MSGLIST, MDELETED,MMNDEL,
"unset", unset, M|RAWLIST, 1, 1000,
"mail", sendmail, R|M|I|STRLIST, 0, 0,
"mbox", mboxit, W|MSGLIST, 0, 0,

View File

@ -239,7 +239,7 @@ void ttyint __P((int));
void ttystop __P((int));
int type __P((int *));
int type1 __P((int *, int, int));
int undelete __P((int *));
int undeletecmd __P((int *));
void unmark __P((int));
char **unpack __P((struct name *));
int unread __P((int []));