(SCM_RIGHTS): Avoid comma at the end of enum if __USE_BSD is not defined.
authordrepper <drepper>
Sat, 20 Nov 2004 07:04:23 +0000 (07:04 +0000)
committerdrepper <drepper>
Sat, 20 Nov 2004 07:04:23 +0000 (07:04 +0000)
sysdeps/unix/sysv/linux/bits/socket.h

index 5335caf..77e9b83 100644 (file)
@@ -283,10 +283,10 @@ __NTH (__cmsg_nxthdr (struct msghdr *__mhdr, struct cmsghdr *__cmsg))
    <linux/socket.h>.  */
 enum
   {
-    SCM_RIGHTS = 0x01,         /* Transfer file descriptors.  */
+    SCM_RIGHTS = 0x01          /* Transfer file descriptors.  */
 #define SCM_RIGHTS SCM_RIGHTS
 #ifdef __USE_BSD
-    SCM_CREDENTIALS = 0x02     /* Credentials passing.  */
+    , SCM_CREDENTIALS = 0x02   /* Credentials passing.  */
 # define SCM_CREDENTIALS SCM_CREDENTIALS
 #endif
   };