From 9333dd8df4da81366188eb771ced1705c551f14d Mon Sep 17 00:00:00 2001 From: bde Date: Mon, 14 Apr 1997 16:49:30 +0000 Subject: Renamed undelete() to undelete_messages() to avoid conflict with new undelete() syscall. Submitted by: partly by roberto --- usr.bin/mail/cmd2.c | 2 +- usr.bin/mail/cmdtab.c | 2 +- usr.bin/mail/extern.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.bin/mail') diff --git a/usr.bin/mail/cmd2.c b/usr.bin/mail/cmd2.c index 976f390..ed46fb3 100644 --- a/usr.bin/mail/cmd2.c +++ b/usr.bin/mail/cmd2.c @@ -345,7 +345,7 @@ delm(msgvec) * Undelete the indicated messages. */ int -undelete(msgvec) +undelete_messages(msgvec) int *msgvec; { register struct message *mp; diff --git a/usr.bin/mail/cmdtab.c b/usr.bin/mail/cmdtab.c index 94e33a0..47fb3c6 100644 --- a/usr.bin/mail/cmdtab.c +++ b/usr.bin/mail/cmdtab.c @@ -58,7 +58,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", undelete_messages, P|MSGLIST, MDELETED,MMNDEL, "unset", unset, M|RAWLIST, 1, 1000, "mail", sendmail, R|M|I|STRLIST, 0, 0, "mbox", mboxit, W|MSGLIST, 0, 0, diff --git a/usr.bin/mail/extern.h b/usr.bin/mail/extern.h index 8b1babf..508e281 100644 --- a/usr.bin/mail/extern.h +++ b/usr.bin/mail/extern.h @@ -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 undelete_messages __P((int *)); void unmark __P((int)); char **unpack __P((struct name *)); int unread __P((int [])); -- cgit v1.1