explict export lists

Eliminated some dead code. In other cases, exported a currently unused
function, since it was a logical part of the API.

Of course this improves the API documentation. It may also sometimes
let ghc optimize code better, since it can know a function is internal
to a module.

364 modules still to go, according to
git grep -E 'module [A-Za-z.]+ where'
This commit is contained in:
Joey Hess 2019-11-21 15:38:06 -04:00
parent 740e0ddbfe
commit 8ea5f3ff99
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
42 changed files with 293 additions and 69 deletions

View file

@ -7,7 +7,15 @@
{-# LANGUAGE CPP #-}
module Utility.LogFile where
module Utility.LogFile (
openLog,
listLogs,
maxLogs,
#ifndef mingw32_HOST_OS
redirLog,
redir,
#endif
) where
import Common