diff src/sysdep.h @ 430:a5df635868b2 r21-2-23

Import from CVS: tag r21-2-23
author cvs
date Mon, 13 Aug 2007 11:29:08 +0200
parents 3ecd8885ac67
children 3a7e78e1142d
line wrap: on
line diff
--- a/src/sysdep.h	Mon Aug 13 11:28:16 2007 +0200
+++ b/src/sysdep.h	Mon Aug 13 11:29:08 2007 +0200
@@ -27,10 +27,6 @@
 
 extern char **environ;
 
-struct emacs_tty;
-int emacs_get_tty (int fd, struct emacs_tty *settings);
-int emacs_set_tty (int fd, struct emacs_tty *settings, int waitp);
-
 int eight_bit_tty (struct device *d);
 
 void stuff_char (struct console *con, int c);
@@ -78,10 +74,10 @@
 extern JMP_BUF break_system_call_jump;
 extern volatile int can_break_system_calls;
 
-int sys_write_1 (int fildes, CONST void *buf, size_t nbyte,
-		 int allow_quit);
-int sys_read_1 (int fildes, void *buf, size_t nbyte,
-		int allow_quit);
+ssize_t sys_write_1 (int fildes, CONST void *buf, size_t nbyte,
+		     int allow_quit);
+ssize_t sys_read_1 (int fildes, void *buf, size_t nbyte,
+		    int allow_quit);
 
 /* Call these functions if you want to change some terminal parameter --
    reset the console, change the parameter, and init it again. */