From: Takashi Iwai Subject: Re: Clean up of ALSA kernel codes: Update Date: Fri, 28 Oct 2005 14:17:25 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 28 Oct 2005 14:10:28 +0200 (METDST), Clemens Ladisch wrote: > > Takashi Iwai wrote: > > A. What about names without snd_ like ac97_t? > > Should it be "struct ac97" or "struct snd_ac97"? > > The snd_ prefix isn't really necessary in these cases because > structure tag names are in a seperate namespace and are always local > to the compilation unit, so they aren't likely to conflict with other > symbols. > > The only reason to add snd_ would be consistency with other ALSA > symbols. Yes, I think "struct ac97" is OK, too. > BTW: Why didn't ac97_t get a snd_ prefix in the first place? I don't remember. No strong reasons, I guess. Takashi ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information