From c88acc8b9f4b2106108bec1f6bf64d7a6505bd8f Mon Sep 17 00:00:00 2001 From: simonm Date: Fri, 29 Jan 1999 09:30:52 +0000 Subject: [PATCH] [project @ 1999-01-29 09:30:51 by simonm] zh --> Zh --- ghc/compiler/basicTypes/UniqSupply.lhs | 2 +- ghc/rts/RtsUtils.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ghc/compiler/basicTypes/UniqSupply.lhs b/ghc/compiler/basicTypes/UniqSupply.lhs index ba06f24..4b8a756 100644 --- a/ghc/compiler/basicTypes/UniqSupply.lhs +++ b/ghc/compiler/basicTypes/UniqSupply.lhs @@ -86,7 +86,7 @@ mkSplitUniqSupply (C# c#) return (MkSplitUniqSupply uniq s1 s2) ) - mk_unique = _ccall_ genSymzh >>= \ (W# u#) -> + mk_unique = _ccall_ genSymZh >>= \ (W# u#) -> return (I# (w2i (mask# `or#` u#))) in mk_supply# diff --git a/ghc/rts/RtsUtils.c b/ghc/rts/RtsUtils.c index 4361952..b9f2ff9 100644 --- a/ghc/rts/RtsUtils.c +++ b/ghc/rts/RtsUtils.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------------- - * $Id: RtsUtils.c,v 1.4 1999/01/27 14:51:21 simonpj Exp $ + * $Id: RtsUtils.c,v 1.5 1999/01/29 09:30:51 simonm Exp $ * * General utility functions used in the RTS. * @@ -160,12 +160,12 @@ nat stg_strlen(char *s) I_ __GenSymCounter = 0; I_ -genSymzh(void) +genSymZh(void) { return(__GenSymCounter++); } I_ -resetGenSymzh(void) /* it's your funeral */ +resetGenSymZh(void) /* it's your funeral */ { __GenSymCounter=0; return(__GenSymCounter); -- 1.7.10.4