summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-04-17 17:41:44 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-04-17 17:41:44 +0800
commite6bb658fbb0eed8298e6c6b7080fbb2ff4698764 (patch)
treed3b4c7eb206e5fb098dc552e288449b86f880e14
parent12c30338cd240fccb422b9d727762219a533994c (diff)
downloadpttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar.gz
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar.bz2
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar.lz
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar.xz
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.tar.zst
pttbbs-e6bb658fbb0eed8298e6c6b7080fbb2ff4698764.zip
Deprecate old_cross_post.
It's time. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5987 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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 },