changeset 43995:110955214222

(Fmake_network_process): Remove unused variable `sa'. Doc fix. Add usage:. (set_socket_options): Remove unused variables `optnum' and `opttype'.
author Pavel Janík <Pavel@Janik.cz>
date Mon, 18 Mar 2002 11:27:06 +0000
parents cf0ef9dd4fe9
children 4989f9828bc5
files src/process.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Mon Mar 18 09:12:09 2002 +0000
+++ b/src/process.c	Mon Mar 18 11:27:06 2002 +0000
@@ -2217,7 +2217,6 @@
       Lisp_Object val;
       char *name, *arg;
       struct socket_options *sopt;
-      int optnum, opttype;
       int ret = 0;
 
       opt = XCAR (opts);
@@ -2494,7 +2493,7 @@
        0, MANY, 0, 
        doc: /* Create and return a network server or client process.
 
-In emacs, network connections are represented by process objects, so
+In Emacs, network connections are represented by process objects, so
 input and output work as for subprocesses and `delete-process' closes
 a network connection.  However, a network process has no process id,
 it cannot be signalled, and the status codes are different from normal
@@ -2607,7 +2606,9 @@
 
 The following special call returns t iff a given KEY VALUE
 pair is supported on this system:
-  (make-network-process :feature KEY VALUE)  */)
+  (make-network-process :feature KEY VALUE)
+
+usage: (make-network-process &rest ARGS)  */)
      (nargs, args)
      int nargs;
      Lisp_Object *args;
@@ -2630,7 +2631,6 @@
     struct _emacs_addrinfo *ai_next;
   } ai, *res, *lres;
 #endif /* HAVE_GETADDRINFO */
-  struct sockaddr *sa = 0;
   struct sockaddr_in address_in;
 #ifdef HAVE_LOCAL_SOCKETS
   struct sockaddr_un address_un;