From 478535f40a62cbb7b5e260327e13553aa6baef38 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 28 Dec 2023 00:56:06 +0100 Subject: Added argument lists to all prototypes --- FICS/utils.h | 102 +++++++++++++++++++++++++++++------------------------------ 1 file changed, 51 insertions(+), 51 deletions(-) diff --git a/FICS/utils.h b/FICS/utils.h index f0eb5bc..502a19f 100644 --- a/FICS/utils.h +++ b/FICS/utils.h @@ -47,56 +47,56 @@ #define ClearFlag(VAR, FLAG) (VAR &= ~(FLAG)) #define CheckFlag(VAR, FLAG) (VAR & (FLAG)) -extern char *dotQuad(); -extern char *eattailwhite(char *); -extern char *eatwhite(char *); -extern char *eatword(char *); -extern char *file_bplayer(); -extern char *file_wplayer(); -extern char *fix_time(char *); -extern char *getword( ); -extern char *hms(); -extern char *hms_desc(); -extern char *nextword(char *); -extern char *ratstr(); -extern char *ratstrii(); -extern char *stolower( ); -extern char *strgtime(time_t *); -extern char *strltime(time_t *); -extern char *tenth_str(); -extern char *xstrdup(const char *); -extern int alphastring( ); -extern int available_space(); -extern int count_lines(FILE *); -extern int display_directory(int, char **, int); -extern int file_exists(); -extern int file_has_pname(); -extern int iswhitespace( ); -extern int lines_file(); -extern int mail_file_to_address(char *, char *, char *); -extern int mail_file_to_user(); -extern int mail_string_to_address(); -extern int mail_string_to_user(); -extern int pcommand(int, char *, ...); -extern int pmail_file( ); -extern int pmore_file( ); -extern int pprintf(int, char *, ...); -extern int pprintf_highlight(int, char *, ...); -extern int pprintf_noformat(int, char *, ...); -extern int pprintf_prompt(int, char *, ...); -extern int printablestring( ); -extern int psend_command( ); -extern int psend_file( ); -extern int psend_logoutfile( ); -extern int psend_raw_file( ); -extern int psprintf_highlight(int, char *, char *, ...); -extern int safechar( ); -extern int safestring( ); -extern int search_directory(char *, char *, char **, int); -extern int truncate_file(); -extern int untenths(); -extern unsigned int tenth_secs(void); -extern void pprintf_dohightlight(int); -extern void sprintf_dohightlight(int, char *); +extern char *dotQuad(unsigned int); +extern char *eattailwhite(char *); +extern char *eatwhite(char *); +extern char *eatword(char *); +extern char *file_bplayer(char *); +extern char *file_wplayer(char *); +extern char *fix_time(char *); +extern char *getword(char *); +extern char *hms(int, int, int, int); +extern char *hms_desc(int); +extern char *nextword(char *); +extern char *ratstr(int); +extern char *ratstrii(int, int); +extern char *stolower(char *); +extern char *strgtime(time_t *); +extern char *strltime(time_t *); +extern char *tenth_str(unsigned int, int); +extern char *xstrdup(const char *); +extern int alphastring(char *); +extern int available_space(void); +extern int count_lines(FILE *); +extern int display_directory(int, char **, int); +extern int file_exists(char *); +extern int file_has_pname(char *, char *); +extern int iswhitespace(int); +extern int lines_file(char *); +extern int mail_file_to_address(char *, char *, char *); +extern int mail_file_to_user(int, char *, char *); +extern int mail_string_to_address(char *, char *, char *); +extern int mail_string_to_user(int, char *, char *); +extern int pcommand(int, char *, ...); +extern int pmail_file(); /* XXX */ +extern int pmore_file(int); +extern int pprintf(int, char *, ...); +extern int pprintf_highlight(int, char *, ...); +extern int pprintf_noformat(int, char *, ...); +extern int pprintf_prompt(int, char *, ...); +extern int printablestring(char *); +extern int psend_command(int, char *, char *); +extern int psend_file(int, char *, char *); +extern int psend_logoutfile(int, char *, char *); +extern int psend_raw_file(int, char *, char *); +extern int psprintf_highlight(int, char *, char *, ...); +extern int safechar(int); +extern int safestring(char *); +extern int search_directory(char *, char *, char **, int); +extern int truncate_file(char *, int); +extern int untenths(unsigned int); +extern unsigned int tenth_secs(void); +extern void pprintf_dohightlight(int); +extern void sprintf_dohightlight(int, char *); #endif /* _UTILS_H */ -- cgit v1.2.3