summaryrefslogtreecommitdiffstats
path: root/include/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/proto.h')
-rw-r--r--include/proto.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/proto.h b/include/proto.h
index 905b8502..b13b6fca 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -105,9 +105,9 @@ int getbnum(const char *bname);
void reset_board(int bid);
void touch_boards(void);
void addbrd_touchcache(void);
-void setapath(char *buf, char *boardname);
+void setapath(char *buf, const char *boardname);
void setutmpmode(unsigned int mode);
-void setadir(char *buf, char *path);
+void setadir(char *buf, const char *path);
int apply_boards(int (*func)(boardheader_t *));
int haspostperm(char *bname);
void setbtotal(int bid);
@@ -376,7 +376,7 @@ char *completeutmp_getname(int where);
/* osdep */
int cpuload(char *str);
-double swapused(int *total, long *used);
+double swapused(int *total, int *used);
#ifdef __linux__
char *strcasestr(const char *big, const char *little);
#endif
@@ -471,25 +471,25 @@ int vmsg(const char *fmt,...) GCC_CHECK_FORMAT(1,2);
void trim(char *buf);
int show_file(char *filename, int y, int lines, int mode);
void bell(void);
-void setbpath(char *buf, char *boardname);
+void setbpath(char *buf, const char *boardname);
int dashf(char *fname);
-void sethomepath(char *buf, char *userid);
-void sethomedir(char *buf, char *userid);
+void sethomepath(char *buf, const char *userid);
+void sethomedir(char *buf, const char *userid);
char *Cdate(time_t *clock);
-void sethomefile(char *buf, char *userid, const char *fname);
+void sethomefile(char *buf, const char *userid, const char *fname);
int log_file(char *fn, int flag, const char *fmt,...);
void str_lower(char *t, char *s);
void *strstr_lower(char *str, char *tag);
int cursor_key(int row, int column);
int search_num(int ch, int max);
-void setuserfile(char *buf, char *fname);
+void setuserfile(char *buf, const char *fname);
int is_BM(char *list);
time_t dasht(char *fname);
int dashd(char *fname);
int invalid_pname(char *str);
-void setbdir(char *buf, char *boardname);
-void setbfile(char *buf, char *boardname, char *fname);
-void setbnfile(char *buf, char *boardname, char *fname, int n);
+void setbdir(char *buf, const char *boardname);
+void setbfile(char *buf, const char *boardname, const char *fname);
+void setbnfile(char *buf, const char *boardname, const char *fname, int n);
int dashl(char *fname);
char *subject(char *title);
void setdirpath(char *buf, char *direct, char *fname);
@@ -497,7 +497,7 @@ int str_checksum(char *str);
void show_help(char * const helptext[]);
int belong(char *filelist, char *key);
char *Cdatedate(time_t *clock);
-void sethomeman(char *buf, char *userid);
+void sethomeman(char *buf, const char *userid);
off_t dashs(char *fname);
void cursor_clear(int row, int column);
void cursor_show(int row, int column);