About unifying the coding style

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

 



Hello,

I'm planning to do more trivial fixes to the SELinux kernel subsystem to
make the coding style look as unified as possible. Before continuing,
however, I would like to ask for an opinion, because I do not want to
waste my time.

There currently exist mixed styles such as:

  while (cur != NULL)

vs

  while (cur)

and of course the related "if"- and "for"-variants.

My questions:

1) Is there a general agreement that only one style should be used?

2) If answer to the question 1 is "yes", which one is the preferred style?

Thanks for the information.

Best regards,
vmk
--
************************************************************************
               Tietotekniikkaosasto / Helsingin yliopisto
                 IT Department / University of Helsinki
************************************************************************

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux