summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-01-20 21:33:50 +0000
committerBernhard Reutner-Fischer2007-01-20 21:33:50 +0000
commitaf45760cca1bad4ccd25ed91605edfd2ffb9426e (patch)
treed522d6eb89df384b6fe56b100028b4b8af9dda35 /include
parentd19f4aaa21b9530f59f51465df18a376c7ba30e6 (diff)
downloadbusybox-af45760cca1bad4ccd25ed91605edfd2ffb9426e.zip
busybox-af45760cca1bad4ccd25ed91605edfd2ffb9426e.tar.gz
- get_terminal_width_height does not and should never write to fd. Cosmetic Precaution
Diffstat (limited to 'include')
-rw-r--r--include/libbb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 30d3006..0b066d1 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);