summaryrefslogtreecommitdiff
path: root/dm_socket.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2009-07-17 22:14:42 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2009-07-17 22:14:42 -0700
commit3beb4d278caa281ea8ebad55ae2f45ea0d46a6e6 (patch)
treec8f6bfcc9b11540fd7c102752c343078080513ac /dm_socket.h
parentb80b263f964031b1edef0a5e0a77a6615dc4be82 (diff)
Use imdent to show cpp macro nesting more clearly
Also strip trailing whitespace to make git happier. While many lines are changes, "git diff -w" shows no changes other than pure whitespace. Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'dm_socket.h')
-rw-r--r--dm_socket.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/dm_socket.h b/dm_socket.h
index 62889e7..b56882c 100644
--- a/dm_socket.h
+++ b/dm_socket.h
@@ -17,7 +17,7 @@ in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT HOLDER(S) BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
@@ -31,17 +31,17 @@ authorization.
********************************************************/
#ifndef _DM_SOCKET_H_
-#define _DM_SOCKET_H_ 1
+# define _DM_SOCKET_H_ 1
-#include <X11/Xmd.h>
-#include <X11/Xdmcp.h>
+# include <X11/Xmd.h>
+# include <X11/Xdmcp.h>
-#ifndef Lynx
-# include <sys/socket.h>
-#else
-# include <socket.h>
-#endif
-#include <netinet/in.h>
+# ifndef Lynx
+# include <sys/socket.h>
+# else
+# include <socket.h>
+# endif
+# include <netinet/in.h>
/* ugly, but we need this after socket.h */
extern ARRAY8Ptr Accept (struct sockaddr *from, int fromlen, CARD16 displayNumber);