Skip to content

Commit 713aa97

Browse files
committed
s/touchFdSocket/touchSocket/
1 parent e270b58 commit 713aa97

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Network/Socket.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ module Network.Socket
138138
, socket
139139
, withFdSocket
140140
, unsafeFdSocket
141-
, touchFdSocket
141+
, touchSocket
142142
, fdSocket
143143
, mkSocket
144144
, socketToHandle

Network/Socket/Types.hsc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module Network.Socket.Types (
1313
Socket
1414
, withFdSocket
1515
, unsafeFdSocket
16-
, touchFdSocket
16+
, touchSocket
1717
, fdSocket
1818
, mkSocket
1919
, invalidateSocket
@@ -130,8 +130,8 @@ unsafeFdSocket (Socket ref _) = readIORef ref
130130
-- at the given place in the sequence of IO actions. This function can be
131131
-- used in conjunction with 'unsafeFdSocket' to guarantee that the file
132132
-- descriptor is not prematurely freed.
133-
touchFdSocket :: Socket -> IO ()
134-
touchFdSocket (Socket ref _) = touch ref
133+
touchSocket :: Socket -> IO ()
134+
touchSocket (Socket ref _) = touch ref
135135

136136
touch :: IORef a -> IO ()
137137
touch (IORef (STRef mutVar)) =

0 commit comments

Comments
 (0)