diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2024-07-13 14:01:08 +0200 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2024-07-13 14:01:08 +0200 |
commit | 634e1c2b1370d4fffd4e6503e4cd903f0521475e (patch) | |
tree | 3424f60bf3620abedfe49aadc27f194db27a3181 /FICS | |
parent | 8f1bd2ef53cc8f45c16efcf23918ebeeb275e7d2 (diff) |
Made format const
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 2 | ||||
-rw-r--r-- | FICS/utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 05ee795..b69a5ea 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -269,7 +269,7 @@ pcommand(int p, char *comstr, ...) } PUBLIC int -pprintf(int p, char *format, ...) +pprintf(int p, const char *format, ...) { char tmp[10 * MAX_LINE_SIZE]; int retval; diff --git a/FICS/utils.h b/FICS/utils.h index 529a3db..3bcdd4d 100644 --- a/FICS/utils.h +++ b/FICS/utils.h @@ -91,7 +91,7 @@ extern int mail_string_to_address(char *, char *, char *); extern int mail_string_to_user(int, char *, char *); extern int pcommand(int, char *, ...) PRINTFLIKE(2); extern int pmore_file(int); -extern int pprintf(int, char *, ...) PRINTFLIKE(2); +extern int pprintf(int, const char *, ...) PRINTFLIKE(2); extern int pprintf_highlight(int, char *, ...) PRINTFLIKE(2); extern int pprintf_noformat(int, char *, ...) PRINTFLIKE(2); extern int pprintf_prompt(int, char *, ...) PRINTFLIKE(2); |