aboutsummaryrefslogtreecommitdiffstats
path: root/awk.h
diff options
context:
space:
mode:
Diffstat (limited to 'awk.h')
-rw-r--r--awk.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/awk.h b/awk.h
index 52c6ac4a..e7998626 100644
--- a/awk.h
+++ b/awk.h
@@ -889,7 +889,6 @@ typedef struct exp_instruction {
typedef struct iobuf {
IOBUF_PUBLIC public; /* exposed to extensions */
- struct stat sbuf; /* stat buf */
char *buf; /* start data buffer */
char *off; /* start of current record in buffer */
char *dataend; /* first byte in buffer to hold new data,
@@ -1533,7 +1532,7 @@ extern int os_devopen(const char *name, int flag);
extern void os_close_on_exec(int fd, const char *name, const char *what, const char *dir);
extern int os_isatty(int fd);
extern int os_isdir(int fd);
-extern int os_isreadable(int fd, bool *isdir);
+extern int os_isreadable(const IOBUF_PUBLIC *iobuf, bool *isdir);
extern int os_is_setuid(void);
extern int os_setbinmode(int fd, int mode);
extern void os_restore_mode(int fd);
@@ -1694,8 +1693,6 @@ extern uintmax_t adjust_uint(uintmax_t n);
#define adjust_uint(n) (n)
#endif
-#define INVALID_HANDLE (-1)
-
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>
#endif