From: sof Date: Thu, 3 Jan 2002 14:43:30 +0000 (+0000) Subject: [project @ 2002-01-03 14:43:30 by sof] X-Git-Tag: Approximately_9120_patches~332 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=a8bb4203507a2225f6214fb5845e3e06b6c6b7c3;p=ghc-hetmet.git [project @ 2002-01-03 14:43:30 by sof] prel_sizeof_{termios,sigset_t}: sync up proto and impl --- diff --git a/ghc/lib/std/cbits/PrelIOUtils.c b/ghc/lib/std/cbits/PrelIOUtils.c index bbed173..edbd898 100644 --- a/ghc/lib/std/cbits/PrelIOUtils.c +++ b/ghc/lib/std/cbits/PrelIOUtils.c @@ -198,7 +198,7 @@ void prel_poke_lflag(struct termios* ts, tcflag_t t) { ts->c_lflag = t; } unsigned char* prel_ptr_c_cc(struct termios* ts) { return ((unsigned char*)(ts + offsetof(struct termios, c_cc))); } #endif -int prel_sizeof_termios() +HsInt prel_sizeof_termios() { #ifndef mingw32_TARGET_OS return sizeof(struct termios); @@ -207,7 +207,7 @@ int prel_sizeof_termios() #endif } -int prel_sizeof_sigset_t() +HsInt prel_sizeof_sigset_t() { #ifndef mingw32_TARGET_OS return sizeof(sigset_t);