diff options
Diffstat (limited to 'src/lib/Xmobar/XUtil.hs')
-rw-r--r-- | src/lib/Xmobar/XUtil.hs | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/Xmobar/XUtil.hs b/src/lib/Xmobar/XUtil.hs index 5093e59..536a2fb 100644 --- a/src/lib/Xmobar/XUtil.hs +++ b/src/lib/Xmobar/XUtil.hs @@ -22,7 +22,6 @@ module Xmobar.XUtil , textWidth , printString , nextEvent' - , readFileSafe , hGetLineSafe ) where @@ -40,7 +39,7 @@ import System.Posix.Types (Fd(..)) import System.IO #if defined XFT || defined UTF8 -import qualified System.IO as S (readFile,hGetLine) +import qualified System.IO as S (hGetLine) #endif #if defined XFT @@ -50,13 +49,6 @@ import Graphics.X11.Xrender import Xmobar.ColorCache -readFileSafe :: FilePath -> IO String -#if defined XFT || defined UTF8 -readFileSafe = S.readFile -#else -readFileSafe = readFile -#endif - hGetLineSafe :: Handle -> IO String #if defined XFT || defined UTF8 hGetLineSafe = S.hGetLine |