diff options
Diffstat (limited to 'compiler/parser')
-rw-r--r-- | compiler/parser/cutils.c | 6 | ||||
-rw-r--r-- | compiler/parser/cutils.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/compiler/parser/cutils.c b/compiler/parser/cutils.c index d714a0cb2a..e458c080a1 100644 --- a/compiler/parser/cutils.c +++ b/compiler/parser/cutils.c @@ -30,12 +30,6 @@ ghc_memcmp( HsPtr a1, HsPtr a2, HsInt len ) return (memcmp((char *)a1, a2, len)); } -HsInt -ghc_memcmp_off( HsPtr a1, HsInt i, HsPtr a2, HsInt len ) -{ - return (memcmp((char *)a1 + i, a2, len)); -} - void enableTimingStats( void ) /* called from the driver */ { diff --git a/compiler/parser/cutils.h b/compiler/parser/cutils.h index c7c1867ded..95a10c59f9 100644 --- a/compiler/parser/cutils.h +++ b/compiler/parser/cutils.h @@ -9,7 +9,6 @@ // Out-of-line string functions, see PrimPacked.lhs HsInt ghc_strlen( HsAddr a ); HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len ); -HsInt ghc_memcmp_off( HsAddr a1, HsInt i, HsAddr a2, HsInt len ); void enableTimingStats( void ); |