File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ import Network.Socket.Types
38
38
-- The existence of a constructor does not imply that the relevant option
39
39
-- is supported on your system: see 'isSupportedSocketOption'
40
40
data SocketOption = SockOpt {
41
- sockOptLevel :: CInt
42
- , sockOptName :: CInt
41
+ sockOptLevel :: ! CInt
42
+ , sockOptName :: ! CInt
43
43
} deriving (Eq , Show )
44
44
45
45
-- | Does the 'SocketOption' exist on this system?
Original file line number Diff line number Diff line change @@ -20,16 +20,16 @@ import Network.Socket.Types
20
20
21
21
-- | Control message (ancillary data) including a pair of level and type.
22
22
data Cmsg = Cmsg {
23
- cmsgId :: CmsgId
24
- , cmsgData :: ByteString
23
+ cmsgId :: ! CmsgId
24
+ , cmsgData :: ! ByteString
25
25
} deriving (Eq , Show )
26
26
27
27
----------------------------------------------------------------
28
28
29
29
-- | Identifier of control message (ancillary data).
30
30
data CmsgId = CmsgId {
31
- cmsgLevel :: CInt
32
- , cmsglType :: CInt
31
+ cmsgLevel :: ! CInt
32
+ , cmsglType :: ! CInt
33
33
} deriving (Eq , Show )
34
34
35
35
-- | The identifier for 'IPv4TTL'.
You can’t perform that action at this time.
0 commit comments