diff options
| author | Pavel Janík | 2002-03-18 11:27:26 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-03-18 11:27:26 +0000 |
| commit | fa9d4315b7a562926cbe2743a84246ffc612867c (patch) | |
| tree | 141b33a95c0fab95b4b73e1ce1588ea6f179d333 /src/process.c | |
| parent | 7665519d900f86963a9c083dde29928a68aeecc3 (diff) | |
| download | emacs-fa9d4315b7a562926cbe2743a84246ffc612867c.tar.gz emacs-fa9d4315b7a562926cbe2743a84246ffc612867c.zip | |
(Fmake_network_process): Remove unused variable `sa'.
Doc fix. Add usage:.
(set_socket_options): Remove unused variables `optnum' and `opttype'.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 0b90649fb9d..033511d99ae 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2217,7 +2217,6 @@ set_socket_options (s, opts, no_error) | |||
| 2217 | Lisp_Object val; | 2217 | Lisp_Object val; |
| 2218 | char *name, *arg; | 2218 | char *name, *arg; |
| 2219 | struct socket_options *sopt; | 2219 | struct socket_options *sopt; |
| 2220 | int optnum, opttype; | ||
| 2221 | int ret = 0; | 2220 | int ret = 0; |
| 2222 | 2221 | ||
| 2223 | opt = XCAR (opts); | 2222 | opt = XCAR (opts); |
| @@ -2494,7 +2493,7 @@ DEFUN ("make-network-process", Fmake_network_process, Smake_network_process, | |||
| 2494 | 0, MANY, 0, | 2493 | 0, MANY, 0, |
| 2495 | doc: /* Create and return a network server or client process. | 2494 | doc: /* Create and return a network server or client process. |
| 2496 | 2495 | ||
| 2497 | In emacs, network connections are represented by process objects, so | 2496 | In Emacs, network connections are represented by process objects, so |
| 2498 | input and output work as for subprocesses and `delete-process' closes | 2497 | input and output work as for subprocesses and `delete-process' closes |
| 2499 | a network connection. However, a network process has no process id, | 2498 | a network connection. However, a network process has no process id, |
| 2500 | it cannot be signalled, and the status codes are different from normal | 2499 | it cannot be signalled, and the status codes are different from normal |
| @@ -2607,7 +2606,9 @@ process' buffer. | |||
| 2607 | 2606 | ||
| 2608 | The following special call returns t iff a given KEY VALUE | 2607 | The following special call returns t iff a given KEY VALUE |
| 2609 | pair is supported on this system: | 2608 | pair is supported on this system: |
| 2610 | (make-network-process :feature KEY VALUE) */) | 2609 | (make-network-process :feature KEY VALUE) |
| 2610 | |||
| 2611 | usage: (make-network-process &rest ARGS) */) | ||
| 2611 | (nargs, args) | 2612 | (nargs, args) |
| 2612 | int nargs; | 2613 | int nargs; |
| 2613 | Lisp_Object *args; | 2614 | Lisp_Object *args; |
| @@ -2630,7 +2631,6 @@ pair is supported on this system: | |||
| 2630 | struct _emacs_addrinfo *ai_next; | 2631 | struct _emacs_addrinfo *ai_next; |
| 2631 | } ai, *res, *lres; | 2632 | } ai, *res, *lres; |
| 2632 | #endif /* HAVE_GETADDRINFO */ | 2633 | #endif /* HAVE_GETADDRINFO */ |
| 2633 | struct sockaddr *sa = 0; | ||
| 2634 | struct sockaddr_in address_in; | 2634 | struct sockaddr_in address_in; |
| 2635 | #ifdef HAVE_LOCAL_SOCKETS | 2635 | #ifdef HAVE_LOCAL_SOCKETS |
| 2636 | struct sockaddr_un address_un; | 2636 | struct sockaddr_un address_un; |