Date: Fri, 08 Jun 2001 11:26:04 -0700 From: Mike Smith <msmith@freebsd.org> To: Thomas David Rivers <rivers@dignus.com> Cc: jhb@FreeBSD.ORG, roam@orbitel.bg, hackers@FreeBSD.ORG Subject: Re: free() and const warnings Message-ID: <200106081826.f58IQ4r01256@mass.dis.org> In-Reply-To: Your message of "Fri, 08 Jun 2001 06:55:50 EDT." <200106081055.GAA49069@lakes.dignus.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> Since some strings are non-constant (the are allocated) - I believe > the `const' qualifier in the structure declaration is incorrect. 'const' just means "I will not be modifying this"; it's a way for a function prototype to constrain the function's implementation. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106081826.f58IQ4r01256>