Don't declare undefined function
@@ -1,6 +1,6 @@ | ||
1 | 1 | /* Yash: yet another shell */ |
2 | 2 | /* redir.h: manages file descriptors and provides functions for redirections */ |
3 | -/* (C) 2007-2012 magicant */ | |
3 | +/* (C) 2007-2023 magicant */ | |
4 | 4 | |
5 | 5 | /* This program is free software: you can redistribute it and/or modify |
6 | 6 | * it under the terms of the GNU General Public License as published by |
@@ -38,7 +38,6 @@ | ||
38 | 38 | extern int copy_as_shellfd(int fd); |
39 | 39 | extern int move_to_shellfd(int fd); |
40 | 40 | extern void open_ttyfd(void); |
41 | -extern int get_ttyfd(void) __attribute__((pure)); | |
42 | 41 | |
43 | 42 | typedef struct savefd_T savefd_T; |
44 | 43 | struct redir_T; |