]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
SourceFormat Enforcement
authorAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 9 Aug 2012 00:12:47 +0000 (18:12 -0600)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Thu, 9 Aug 2012 00:12:47 +0000 (18:12 -0600)
compat/cmsg.h

index a6dea13f7e8aa82e939268bbeb91e164e84a1e4b..b299d31b584878f3c762c6a81a8b1f051d93989f 100644 (file)
 
 /* mostly windows-specific */
 #ifndef CMSG_SPACE
-struct cmsghdr{
-        unsigned int    cmsg_len;
-        int  cmsg_level;
-        int     cmsg_type;
-        unsigned char cmsg_data[16]; /* dummy */
-        /* followed by UCHAR cmsg_data[]; */
+struct cmsghdr {
+    unsigned int    cmsg_len;
+    int  cmsg_level;
+    int     cmsg_type;
+    unsigned char cmsg_data[16]; /* dummy */
+    /* followed by UCHAR cmsg_data[]; */
 } ;
 
 /* lifted off https://metacpan.org/source/SAMPO/Socket-PassAccessRights-0.03/passfd.c */
@@ -69,11 +69,11 @@ struct msghdr {
 
 
 struct iovec {
-       void *iov_base;
-       size_t iov_len;
+    void *iov_base;
+    size_t iov_len;
 };
 struct sockaddr_un {
-       char sun_family;
+    char sun_family;
     char sun_path[256];   /* pathname */
 };
 # define SUN_LEN(ptr) ((size_t) (((struct sockaddr_un *) 0)->sun_path)        \