diff options
-rw-r--r-- | include/proto.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h index 066df340..8d44e14c 100644 --- a/include/proto.h +++ b/include/proto.h @@ -446,11 +446,11 @@ void out_lines(const char *str, int line); #define not_alnum(ch) (ch < '0' || (ch > '9' && ch < 'A') || (ch > 'Z' && ch < 'a') || ch > 'z') #define pressanykey() vmsg_lines(b_lines, NULL) int vmsg_lines(int lines, const char *msg); -int log_user(const char *fmt, ...); +int log_user(const char *fmt, ...) GCC_CHECK_FORMAT(1,2); time_t gettime(int line, time_t dt, char* head); void setcalfile(char *buf, char *userid); void stand_title(char *title); -char getans(const char *fmt,...); +char getans(const char *fmt,...) GCC_CHECK_FORMAT(1,2); int getkey(const char *fmt,...) GCC_CHECK_FORMAT(1,2); int vmsg(const char *fmt,...) GCC_CHECK_FORMAT(1,2); void trim(char *buf); |