comparison src/process.c @ 111829:a60f0af8cb39

* src/process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 04 Dec 2010 20:23:22 -0500
parents 6c24c5598611
children 417b1e4d63cd 7df2e30d72ec
comparison
equal deleted inserted replaced
111828:c54faf0302ea 111829:a60f0af8cb39
3805 UNGCPRO; 3805 UNGCPRO;
3806 return proc; 3806 return proc;
3807 } 3807 }
3808 3808
3809 3809
3810 #if defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) 3810 #if defined(HAVE_NET_IF_H)
3811 3811
3812 #ifdef SIOCGIFCONF 3812 #ifdef SIOCGIFCONF
3813 DEFUN ("network-interface-list", Fnetwork_interface_list, Snetwork_interface_list, 0, 0, 0, 3813 DEFUN ("network-interface-list", Fnetwork_interface_list, Snetwork_interface_list, 0, 0, 0,
3814 doc: /* Return an alist of all network interfaces and their network address. 3814 doc: /* Return an alist of all network interfaces and their network address.
3815 Each element is a cons, the car of which is a string containing the 3815 Each element is a cons, the car of which is a string containing the
4048 close (s); 4048 close (s);
4049 4049
4050 return any ? res : Qnil; 4050 return any ? res : Qnil;
4051 } 4051 }
4052 #endif 4052 #endif
4053 #endif /* defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) */ 4053 #endif /* defined(HAVE_NET_IF_H) */
4054 4054
4055 /* Turn off input and output for process PROC. */ 4055 /* Turn off input and output for process PROC. */
4056 4056
4057 void 4057 void
4058 deactivate_process (Lisp_Object proc) 4058 deactivate_process (Lisp_Object proc)
7702 defsubr (&Sserial_process_configure); 7702 defsubr (&Sserial_process_configure);
7703 defsubr (&Smake_serial_process); 7703 defsubr (&Smake_serial_process);
7704 defsubr (&Sset_network_process_option); 7704 defsubr (&Sset_network_process_option);
7705 defsubr (&Smake_network_process); 7705 defsubr (&Smake_network_process);
7706 defsubr (&Sformat_network_address); 7706 defsubr (&Sformat_network_address);
7707 #if defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) 7707 #if defined(HAVE_NET_IF_H)
7708 #ifdef SIOCGIFCONF 7708 #ifdef SIOCGIFCONF
7709 defsubr (&Snetwork_interface_list); 7709 defsubr (&Snetwork_interface_list);
7710 #endif 7710 #endif
7711 #if defined(SIOCGIFADDR) || defined(SIOCGIFHWADDR) || defined(SIOCGIFFLAGS) 7711 #if defined(SIOCGIFADDR) || defined(SIOCGIFHWADDR) || defined(SIOCGIFFLAGS)
7712 defsubr (&Snetwork_interface_info); 7712 defsubr (&Snetwork_interface_info);
7713 #endif 7713 #endif
7714 #endif /* defined(HAVE_NET_IF_H) && defined(HAVE_SYS_IOCTL_H) */ 7714 #endif /* defined(HAVE_NET_IF_H) */
7715 #ifdef DATAGRAM_SOCKETS 7715 #ifdef DATAGRAM_SOCKETS
7716 defsubr (&Sprocess_datagram_address); 7716 defsubr (&Sprocess_datagram_address);
7717 defsubr (&Sset_process_datagram_address); 7717 defsubr (&Sset_process_datagram_address);
7718 #endif 7718 #endif
7719 defsubr (&Saccept_process_output); 7719 defsubr (&Saccept_process_output);