summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1997-04-14 16:49:30 +0000
committerbde <bde@FreeBSD.org>1997-04-14 16:49:30 +0000
commit9333dd8df4da81366188eb771ced1705c551f14d (patch)
treee2e9f87a53e1699008d8bb680f92b155cfb0eded /usr.bin/mail
parentab0e357c7a59860b4b37e5fdb684bcba79a2e6be (diff)
downloadFreeBSD-src-9333dd8df4da81366188eb771ced1705c551f14d.zip
FreeBSD-src-9333dd8df4da81366188eb771ced1705c551f14d.tar.gz
Renamed undelete() to undelete_messages() to avoid conflict with new
undelete() syscall. Submitted by: partly by roberto
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