emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs core TLS support


From: James Cloos
Subject: Re: Emacs core TLS support
Date: Fri, 13 Aug 2010 07:04:49 -0400
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

I'm just scanning though the patch for now, but the first think I notice
is that it needs to be updated from k&r to ansi.  An example:

+int
+emacs_gnutls_write (fildes, state, buf, nbyte)
+     int fildes;
+     gnutls_session_t state;
+     char *buf;
+     unsigned int nbyte;
+{
+  register int rtnval, bytes_written;

should be changed to:

+int
+emacs_gnutls_write (int fildes, gnutls_session_t state, char *buf, unsigned 
int nbyte)
+{
+  register int rtnval, bytes_written;

As so for the rest of the new C functions.

(Having written that, I don't remember whether the 23 branch was also
updated from k&r; so the above may only apply if it is meant just for
trunk.)

-JimC
-- 
James Cloos <address@hidden>         OpenPGP: 1024D/ED7DAEA6



reply via email to

[Prev in Thread] Current Thread [Next in Thread]