diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 23:03:54 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-23 23:03:54 +0800 |
commit | b640fe2c00e591888ecc1ca594e5e51336c3bf44 (patch) | |
tree | 58fbced83d4f120681a1a1e64f5c5b1050a30038 /include | |
parent | 432105a135d72c756520d12ece397d52091585ba (diff) | |
download | pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.gz pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.bz2 pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.lz pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.xz pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.tar.zst pttbbs-b640fe2c00e591888ecc1ca594e5e51336c3bf44.zip |
remove useless functions
integrate similiar functions
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1827 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index b3fed5a6..82865f8d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -312,7 +312,6 @@ void init_alarm(void); int num_in_buf(void); int ochar(int c); int rget(int x,char *prompt); -char getans(char *prompt); /* kaede */ int Rename(char* src, char* dst); @@ -480,11 +479,13 @@ void out_lines(char *str, int line); #define isprint2(ch) ((ch & 0x80) || isprint(ch)) #define not_alpha(ch) (ch < 'A' || (ch > 'Z' && ch < 'a') || ch > 'z') #define not_alnum(ch) (ch < '0' || (ch > '9' && ch < 'A') || (ch > 'Z' && ch < 'a') || ch > 'z') +#define pressanykey() vmsg_lines(b_lines, "") +int vmsg_lines(int lines, const char *msg); time_t gettime(int line, time_t dt, char* head); void setcalfile(char *buf, char *userid); void stand_title(char *title); -void pressanykey(void); -int vmsg (const char *fmt,...) GCC_CHECK_FORMAT(1,2); +int getans(const char *fmt,...) GCC_CHECK_FORMAT(1,2); +int vmsg(const char *fmt,...) GCC_CHECK_FORMAT(1,2); void trim(char *buf); void bell(void); void setbpath(char *buf, char *boardname); |