summaryrefslogtreecommitdiffstats
path: root/include/ttyutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ttyutils.h')
-rw-r--r--include/ttyutils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ttyutils.h b/include/ttyutils.h
index 021156d3e..8882af2cb 100644
--- a/include/ttyutils.h
+++ b/include/ttyutils.h
@@ -48,7 +48,8 @@ struct chardata {
} while (0)
extern int get_terminal_width(void);
-extern int get_terminal_name(const char **path, const char **name, const char **number);
+extern int get_terminal_name(int fd, const char **path, const char **name,
+ const char **number);
#define UL_TTY_KEEPCFLAGS (1 << 1)
#define UL_TTY_UTF8 (1 << 2)