Re: #ifdef statement inside #define

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bernd Petrovitsch wrote:
> On Fri, 2006-08-18 at 09:48 -0400, Mark Hounschell wrote:
> [...]
>>  #define INIT lock_mutex();
> You do not want this there  ^
> 
> 	Bernd

Probably not but it only has to be somewhere. There or after the macro is used
in the code. I agree, in the code is preferred.

{
  INIT
   or
  INIT;
}

Mark



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux