summaryrefslogtreecommitdiff
path: root/src/gnutls.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2011-05-05 01:56:09 +0200
committerJuanma Barranquero <lekktu@gmail.com>2011-05-05 01:56:09 +0200
commite968f4f300f67fe65ea5df010e6ee461f5d6df92 (patch)
treee66fd3d5b04f6b18be5a49f6e9ec00067f990d76 /src/gnutls.c
parent84d358f0d559acc398b019660c4a1a3a50fd6bb2 (diff)
downloademacs-e968f4f300f67fe65ea5df010e6ee461f5d6df92.tar.gz
src/gnutls.c: Remove unused parameter `fildes'.
* gnutls.h (emacs_gnutls_write, emacs_gnutls_read): * gnutls.c (emacs_gnutls_write, emacs_gnutls_read): Remove unused parameter `fildes'. * process.c (read_process_output, send_process): Don't pass it.
Diffstat (limited to 'src/gnutls.c')
-rw-r--r--src/gnutls.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gnutls.c b/src/gnutls.c
index 7e821ccd41d..6fede1804dc 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -319,8 +319,7 @@ emacs_gnutls_transport_set_errno (gnutls_session_t state, int err)
}
EMACS_INT
-emacs_gnutls_write (int fildes, struct Lisp_Process *proc, const char *buf,
- EMACS_INT nbyte)
+emacs_gnutls_write (struct Lisp_Process *proc, const char *buf, EMACS_INT nbyte)
{
ssize_t rtnval = 0;
EMACS_INT bytes_written;
@@ -360,8 +359,7 @@ emacs_gnutls_write (int fildes, struct Lisp_Process *proc, const char *buf,
}
EMACS_INT
-emacs_gnutls_read (int fildes, struct Lisp_Process *proc, char *buf,
- EMACS_INT nbyte)
+emacs_gnutls_read (struct Lisp_Process *proc, char *buf, EMACS_INT nbyte)
{
ssize_t rtnval;
gnutls_session_t state = proc->gnutls_state;