<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://k5wiki.kerberos.org/wiki?action=history&amp;feed=atom&amp;title=Talk%3ACoding_style</id>
		<title>Talk:Coding style - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://k5wiki.kerberos.org/wiki?action=history&amp;feed=atom&amp;title=Talk%3ACoding_style"/>
		<link rel="alternate" type="text/html" href="https://k5wiki.kerberos.org/wiki?title=Talk:Coding_style&amp;action=history"/>
		<updated>2026-04-09T09:47:25Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.4</generator>

	<entry>
		<id>https://k5wiki.kerberos.org/wiki?title=Talk:Coding_style&amp;diff=343&amp;oldid=prev</id>
		<title>KenRaeburn: New page: I think the bits about not passing NULL to realloc or free are obsolete.  So is allowing K&amp;R style function declarations or definitions in new code instead of using prototype style.  Using...</title>
		<link rel="alternate" type="text/html" href="https://k5wiki.kerberos.org/wiki?title=Talk:Coding_style&amp;diff=343&amp;oldid=prev"/>
				<updated>2008-04-14T23:51:44Z</updated>
		
		<summary type="html">&lt;p&gt;New page: I think the bits about not passing NULL to realloc or free are obsolete.  So is allowing K&amp;amp;R style function declarations or definitions in new code instead of using prototype style.  Using...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I think the bits about not passing NULL to realloc or free are obsolete.  So is allowing K&amp;amp;R style function declarations or definitions in new code instead of using prototype style.&lt;br /&gt;
&lt;br /&gt;
Using calloc or memset with pointer fields isn't so much wrong as incomplete.  It's probably reasonable to clobber whatever might have been there before (unless we've got ''good'' tools for tracking uninitialized storage, and we think we meant to initialize everything), it just isn't guaranteed to give you null pointers, so if you want pointers initialized to null, you should do that also, explicitly.&lt;br /&gt;
&lt;br /&gt;
--[[User:KenRaeburn|KenRaeburn]] 19:51, 14 April 2008 (EDT)&lt;/div&gt;</summary>
		<author><name>KenRaeburn</name></author>	</entry>

	</feed>