diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-07-17 22:21:25 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-07-17 22:21:25 -0700 |
commit | 6770509fa149cf8bc148e2ed3c8e11e0b83a4ee1 (patch) | |
tree | e5c900d1b1e433a04a756570fff421227cbaaffc | |
parent | 3beb4d278caa281ea8ebad55ae2f45ea0d46a6e6 (diff) |
Remove #ifdef Lynx blocks
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
-rw-r--r-- | choose.c | 6 | ||||
-rw-r--r-- | dm_socket.h | 6 | ||||
-rw-r--r-- | netaddr.c | 6 | ||||
-rw-r--r-- | prngc.c | 6 | ||||
-rw-r--r-- | session.c | 7 | ||||
-rw-r--r-- | socket.c | 6 | ||||
-rw-r--r-- | xdmcp.c | 8 |
7 files changed, 7 insertions, 38 deletions
@@ -44,11 +44,7 @@ in this Software without prior written authorization from The Open Group. # include <arpa/inet.h> # ifndef X_NO_SYS_UN -# ifndef Lynx -# include <sys/un.h> -# else -# include <un.h> -# endif +# include <sys/un.h> # endif # include <ctype.h> diff --git a/dm_socket.h b/dm_socket.h index b56882c..f04517a 100644 --- a/dm_socket.h +++ b/dm_socket.h @@ -36,11 +36,7 @@ authorization. # include <X11/Xmd.h> # include <X11/Xdmcp.h> -# ifndef Lynx -# include <sys/socket.h> -# else -# include <socket.h> -# endif +# include <sys/socket.h> # include <netinet/in.h> /* ugly, but we need this after socket.h */ @@ -43,11 +43,7 @@ from The Open Group. # ifdef UNIXCONN # ifndef X_NO_SYS_UN -# ifndef Lynx -# include <sys/un.h> /* struct sockaddr_un */ -# else -# include <un.h> /* struct sockaddr_un */ -# endif +# include <sys/un.h> /* struct sockaddr_un */ # endif # endif # ifdef DNETCONN @@ -27,11 +27,7 @@ #include <sys/socket.h> #include <X11/Xos.h> #ifndef X_NO_SYS_UN -# ifndef Lynx -# include <sys/un.h> -# else -# include <un.h> -# endif +# include <sys/un.h> #endif #include <netinet/in.h> #include <errno.h> @@ -974,10 +974,3 @@ systemEnv (struct display *d, char *user, char *home) env = setEnv (env, "WINDOWPATH", d->windowPath); return env; } - -#if (defined(Lynx) && !defined(HAS_CRYPT)) -char *crypt(char *s1, char *s2) -{ - return(s2); -} -#endif @@ -44,11 +44,7 @@ from the copyright holder. # include "dm_socket.h" # ifndef X_NO_SYS_UN -# ifndef Lynx -# include <sys/un.h> -# else -# include <un.h> -# endif +# include <sys/un.h> # endif # include <netdb.h> # include <arpa/inet.h> @@ -47,11 +47,7 @@ from The Open Group. # include "dm_socket.h" # ifndef X_NO_SYS_UN -# ifndef Lynx -# include <sys/un.h> -# else -# include <un.h> -# endif +# include <sys/un.h> # endif # include <netdb.h> # include <arpa/inet.h> @@ -826,7 +822,7 @@ forward_respond ( memmove( un_addr.sun_path, clientAddress.data, clientAddress.length); un_addr.sun_path[clientAddress.length] = '\0'; client = (struct sockaddr *) &un_addr; -# if defined(BSD44SOCKETS) && !defined(Lynx) && defined(UNIXCONN) +# if defined(BSD44SOCKETS) && defined(UNIXCONN) un_addr.sun_len = strlen(un_addr.sun_path); clientlen = SUN_LEN(&un_addr); # else |