Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 2003 13:08:48 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Jens Rehsack <rehsack@liwing.de>
Cc:        Juli Mallett <jmallett@FreeBSD.org>, current@freebsd.org
Subject:   Re: PATCH: type errors in src-tree
Message-ID:  <xzpel5qc6nj.fsf@flood.ping.uio.no>
In-Reply-To: <3E612F7F.1090002@liwing.de> (Jens Rehsack's message of "Sat, 01 Mar 2003 23:09:03 %2B0100")
References:  <3E5EA13E.9020208@liwing.de> <3E60F1CF.2030400@liwing.de> <20030301155546.A39174@FreeBSD.org> <3E612F7F.1090002@liwing.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Jens Rehsack <rehsack@liwing.de> writes:
> Of course. Very often in ilmid.c the type caddr_t was used, and nearly
> the same count of 'const char *'s was used. I've searched the include
> files for caddr_t (core address) and found it defined as 'char *', so
> I decided to used commonly caddr_t - maybe later I check which of them
> could be changed into 'c_caddr_t' for being const. But You can of
> couse replace all 'caddr_t' which 'char *'.

This is wrong.  caddr_t should be uniersally replaced with void *.

DES
-- 
Dag-Erling Smorgrav - des@ofug.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpel5qc6nj.fsf>