summaryrefslogtreecommitdiff
path: root/Touch.hsc
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-05-21 11:07:08 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-05-21 11:07:08 -0400
commit1876db50f258a1a6a67d874049e93a84d34cac32 (patch)
treed67ad0da6329eb5329a99228a749261f2dc09a77 /Touch.hsc
parent813ff7f4b0cef294e020e50d4c6f973d1e7f35ae (diff)
found a few places I can use newtype
for presumably some speedups
Diffstat (limited to 'Touch.hsc')
-rw-r--r--Touch.hsc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Touch.hsc b/Touch.hsc
index fd3500f86..4f26855d2 100644
--- a/Touch.hsc
+++ b/Touch.hsc
@@ -16,7 +16,7 @@ module Touch (
import Foreign
import Foreign.C
-data TimeSpec = TimeSpec CTime
+newtype TimeSpec = TimeSpec CTime
{- Changes the access and modification times of an existing file.
Can follow symlinks, or not. Throws IO error on failure. -}