- get_terminal_width_height does not and should never write to fd. Cosmetic Precaution
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index dc160bf..240ac5d 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -572,7 +572,7 @@
 
 /* It is perfectly ok to pass in a NULL for either width or for
  * height, in which case that value will not be set.  */
-int get_terminal_width_height(int fd, int *width, int *height)
+int get_terminal_width_height(const int fd, int *width, int *height)
 {
 	struct winsize win = { 0, 0, 0, 0 };
 	int ret = ioctl(fd, TIOCGWINSZ, &win);