From af45760cca1bad4ccd25ed91605edfd2ffb9426e Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 20 Jan 2007 21:33:50 +0000 Subject: - get_terminal_width_height does not and should never write to fd. Cosmetic Precaution --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 30d3006ad..0b066d1bd 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -570,7 +570,7 @@ extern void vfork_daemon(int nochdir, int noclose); extern void vfork_daemon_rexec(int nochdir, int noclose, int argc, char **argv, char *foreground_opt); #endif -extern int get_terminal_width_height(int fd, int *width, int *height); +extern int get_terminal_width_height(const int fd, int *width, int *height); int is_in_ino_dev_hashtable(const struct stat *statbuf, char **name); void add_to_ino_dev_hashtable(const struct stat *statbuf, const char *name); -- cgit v1.2.3