summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/bbs.c8
-rw-r--r--pttbbs/mbbsd/mail.c6
2 files changed, 1 insertions, 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
@@ -36,10 +36,6 @@ 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
// Checks if given address is a full qualified mail address in user@host.domain
@@ -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 },