summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/cmd2.c2
-rw-r--r--usr.bin/mail/cmdtab.c2
-rw-r--r--usr.bin/mail/extern.h2
3 files changed, 3 insertions, 3 deletions
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 []));
OpenPOWER on IntegriCloud