• R/O
  • SSH
  • HTTPS

yash: Commit


Commit MetaInfo

Revision4232 (tree)
Time2023-02-03 00:15:48
Authormagicant

Log Message

Don't declare undefined function

Change Summary

Incremental Difference

--- yash/trunk/redir.h (revision 4231)
+++ yash/trunk/redir.h (revision 4232)
@@ -1,6 +1,6 @@
11 /* Yash: yet another shell */
22 /* redir.h: manages file descriptors and provides functions for redirections */
3-/* (C) 2007-2012 magicant */
3+/* (C) 2007-2023 magicant */
44
55 /* This program is free software: you can redistribute it and/or modify
66 * it under the terms of the GNU General Public License as published by
@@ -38,7 +38,6 @@
3838 extern int copy_as_shellfd(int fd);
3939 extern int move_to_shellfd(int fd);
4040 extern void open_ttyfd(void);
41-extern int get_ttyfd(void) __attribute__((pure));
4241
4342 typedef struct savefd_T savefd_T;
4443 struct redir_T;
Show on old repository browser