From e6bb658fbb0eed8298e6c6b7080fbb2ff4698764 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 17 Apr 2014 09:41:44 +0000 Subject: Deprecate old_cross_post. It's time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/bbs.c | 8 -------- pttbbs/mbbsd/mail.c | 6 +----- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 93209834..3e33d359 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/mbbsd/bbs.c @@ -2066,14 +2066,6 @@ forward_post(int ent, fileheader_t * fhdr, const char *direct) { #define UPDATE_USEREC (currmode |= MODE_DIRTY) -int -old_cross_post(int e GCC_UNUSED, fileheader_t* g GCC_UNUSED, - const char *d GCC_UNUSED) -{ - vmsg("為了避免您誤按,轉錄按鍵已改為 Ctrl-X"); - return PARTUPDATE; -} - static int cross_post(int ent, fileheader_t * fhdr, const char *direct) { diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c index 567cf96a..7c5ac9fd 100644 --- a/pttbbs/mbbsd/mail.c +++ b/pttbbs/mbbsd/mail.c @@ -35,10 +35,6 @@ static char listfile[] = "list.0"; static int showmail_mode = SHOWMAIL_NORM; static const onekey_t mail_comms[]; -//////////////////////////////////////////////////////////////////////// -// Prototype of shared/local functions -int old_cross_post(int, fileheader_t* , const char *); - //////////////////////////////////////////////////////////////////////// // Core utility functions @@ -2279,7 +2275,7 @@ static const onekey_t mail_comms[] = { { 0, NULL }, // 'U' { 0, NULL }, // 'V' { 0, NULL }, // 'W' - { 1, old_cross_post }, // 'X' + { 0, NULL }, // 'X' { 0, NULL }, // 'Y' { 0, NULL }, // 'Z' 90 { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, { 0, NULL }, -- cgit v1.2.3