Renamed the mbx_* functions to mbox_*, because mbx is another mail box format.
[mmh] / uip / dropsbr.c
index f093c2f..6a7eb78 100644 (file)
@@ -25,7 +25,7 @@
 ** a file or maildrop.
 */
 int
-mbx_open(char *file, uid_t uid, gid_t gid, mode_t mode)
+mbox_open(char *file, uid_t uid, gid_t gid, mode_t mode)
 {
        int i, count, fd;
        struct stat st;
@@ -102,7 +102,7 @@ mbx_open(char *file, uid_t uid, gid_t gid, mode_t mode)
 ** Append message to end of mbox.
 */
 int
-mbx_copy(int to, int from)
+mbox_copy(int to, int from)
 {
        int i;
        char buffer[BUFSIZ];
@@ -194,7 +194,7 @@ mbx_copy(int to, int from)
 ** Close and unlock file/maildrop.
 */
 int
-mbx_close(char *mailbox, int md)
+mbox_close(char *mailbox, int md)
 {
        if (lkclose(md, mailbox) == 0)
                return OK;