diff options
| author | Dave Love | 2003-09-18 10:40:04 +0000 |
|---|---|---|
| committer | Dave Love | 2003-09-18 10:40:04 +0000 |
| commit | e128399941e8edd2ebb141a9c3d69376e0933abd (patch) | |
| tree | 8f1f1a28585211aadbc38ee01482162b82065764 /src/process.c | |
| parent | b8c7fd71a2bbb70165447069cddc21d19927c591 (diff) | |
| download | emacs-e128399941e8edd2ebb141a9c3d69376e0933abd.tar.gz emacs-e128399941e8edd2ebb141a9c3d69376e0933abd.zip | |
(Fnetwork_interface_info): Fix type error.
(Fnetwork_interface_list): Doc fix.
(read_process_output, read_process_output): Delete unused var.
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 531c60cac49..ca9a51601da 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2449,7 +2449,7 @@ OPTION is not a supported option, return nil instead; otherwise return t. */) | |||
| 2449 | Lisp_Object process, option, value; | 2449 | Lisp_Object process, option, value; |
| 2450 | Lisp_Object no_error; | 2450 | Lisp_Object no_error; |
| 2451 | { | 2451 | { |
| 2452 | int s, i; | 2452 | int s; |
| 2453 | 2453 | ||
| 2454 | CHECK_PROCESS (process); | 2454 | CHECK_PROCESS (process); |
| 2455 | 2455 | ||
| @@ -3343,7 +3343,7 @@ DEFUN ("network-interface-list", Fnetwork_interface_list, Snetwork_interface_lis | |||
| 3343 | doc: /* Return an alist of all network interfaces and their network address. | 3343 | doc: /* Return an alist of all network interfaces and their network address. |
| 3344 | Each element is a cons, the car of which is a string containing the | 3344 | Each element is a cons, the car of which is a string containing the |
| 3345 | interface name, and the cdr is the network address in internal | 3345 | interface name, and the cdr is the network address in internal |
| 3346 | format; see the description of ADDRESS in 'make-network-process'. */) | 3346 | format; see the description of ADDRESS in `make-network-process'. */) |
| 3347 | () | 3347 | () |
| 3348 | { | 3348 | { |
| 3349 | struct ifconf ifconf; | 3349 | struct ifconf ifconf; |
| @@ -3521,7 +3521,7 @@ FLAGS is the current flags of the interface. */) | |||
| 3521 | any++; | 3521 | any++; |
| 3522 | for (n = 0; n < 6; n++) | 3522 | for (n = 0; n < 6; n++) |
| 3523 | p->contents[n] = make_number (((unsigned char *)&rq.ifr_hwaddr.sa_data[0])[n]); | 3523 | p->contents[n] = make_number (((unsigned char *)&rq.ifr_hwaddr.sa_data[0])[n]); |
| 3524 | elt = Fcons (XINT (rq.ifr_hwaddr.sa_family), hwaddr); | 3524 | elt = Fcons (make_number (rq.ifr_hwaddr.sa_family), hwaddr); |
| 3525 | } | 3525 | } |
| 3526 | #endif | 3526 | #endif |
| 3527 | res = Fcons (elt, res); | 3527 | res = Fcons (elt, res); |
| @@ -4607,7 +4607,7 @@ read_process_output (proc, channel) | |||
| 4607 | Lisp_Object proc; | 4607 | Lisp_Object proc; |
| 4608 | register int channel; | 4608 | register int channel; |
| 4609 | { | 4609 | { |
| 4610 | register int nchars, nbytes; | 4610 | register int nbytes; |
| 4611 | char *chars; | 4611 | char *chars; |
| 4612 | register Lisp_Object outstream; | 4612 | register Lisp_Object outstream; |
| 4613 | register struct buffer *old = current_buffer; | 4613 | register struct buffer *old = current_buffer; |