summaryrefslogtreecommitdiff
path: root/src/gnutls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnutls.h')
-rw-r--r--src/gnutls.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gnutls.h b/src/gnutls.h
index 43a9eefce1b..b39131b6236 100644
--- a/src/gnutls.h
+++ b/src/gnutls.h
@@ -50,15 +50,15 @@ typedef enum
#define GNUTLS_LOG2(level, max, string, extra) if (level <= max) { gnutls_log_function2 (level, "(Emacs) " string, extra); }
-int
-emacs_gnutls_write (int fildes, struct Lisp_Process *proc, char *buf,
- unsigned int nbyte);
-int
+ssize_t
+emacs_gnutls_write (int fildes, struct Lisp_Process *proc, const char *buf,
+ size_t nbyte);
+ssize_t
emacs_gnutls_read (int fildes, struct Lisp_Process *proc, char *buf,
- unsigned int nbyte);
+ size_t nbyte);
extern void syms_of_gnutls (void);
-#endif
+#endif
#endif