diff --git a/ghc/lib/posix/Posix.lhs b/ghc/lib/posix/Posix.lhs
index 8eeb0f7b4856d34e7ddf2ac34001adcba3f5b1c2..93f70a226a1b41e4900d1e397764637d3857ea1b 100644
--- a/ghc/lib/posix/Posix.lhs
+++ b/ghc/lib/posix/Posix.lhs
@@ -14,7 +14,6 @@ module Posix  (
     module PosixTTY,
 
     runProcess,
-    exec,
 
     ByteCount,
     Fd, intToFd,