[commit: base] master: Remove an unsed definition in HsBase.h (4dd170d)

Ian Lynagh igloo at earth.li
Wed Feb 22 21:56:44 CET 2012


Repository : ssh://darcs.haskell.org//srv/darcs/packages/base

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4dd170d03eeb83ebecec22b72079dd8049fc10ad

>---------------------------------------------------------------

commit 4dd170d03eeb83ebecec22b72079dd8049fc10ad
Author: Ian Lynagh <igloo at earth.li>
Date:   Wed Feb 22 13:57:33 2012 +0000

    Remove an unsed definition in HsBase.h
    
    Bytestring uses it, so I've moved it into that package.

>---------------------------------------------------------------

 include/HsBase.h |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/include/HsBase.h b/include/HsBase.h
index 9b2e702..9b156e0 100644
--- a/include/HsBase.h
+++ b/include/HsBase.h
@@ -170,10 +170,6 @@ extern HsInt nocldstop;
 INLINE int __hscore_get_errno(void) { return errno; }
 INLINE void __hscore_set_errno(int e) { errno = e; }
 
-INLINE void *
-__hscore_memcpy_src_off( char *dst, char *src, int src_off, size_t sz )
-{ return memcpy(dst, src+src_off, sz); }
-
 INLINE HsInt
 __hscore_bufsiz(void)
 {





More information about the Cvs-libraries mailing list