<li>Header comment, including program name and LICENSE</li>
<li>Headers</li>
<li>Macros</li>
<li>Types</li>
<li>Global variables</li>
<li>Functions</li>
<li><cil>main</cil> (if applicable)</li>
</ul>
<p>Note that function declarations should be defined in a separate header, ex:</p>
<p><cil>#include "project_name.h"</cil></p>
<p>Indentations should be a single tab and be equal to 8 characters for better readability.</p>
<p><strong>1.2</strong> Functions</p>
<p>Functions should have their return type on one line, their name and parameters one line down, and the bracket one line under the name and arguments.</p>
<p>Example:</p>
<bigcodehead><strong>CODE:</strong> Proper function formatting in C</bigcodehead>
<p>This is not legal advice. If you are in doubt with licensing, please contact your lawyer.</p>
</div>
<p><strong>2.2</strong> Preferred Licenses</p>
<p>For all projects officially released under Everest, the GNU GPL family of licenses is preferred. It provides compatibility with all other existing Everest projects.</p>
<p>Most programs should be licensed under the standard GPL. For libraries, you might want to choose the LGPL, if you want to allow linking within proprietary programs. For web applications, always choose the AGPL.</p>
<p><strong>2.3</strong> Other Licenses</p>
<p>If you wish to use a non-GPL license for your project, that is perfectly permissible.</p>
<p>Before releasing your program, we ask that you add the following disclaimer to your README:</p>
<fhead><strong>FILE:</strong> README</fhead>
<divclass="file">
<p>LICENSING DISCLAIMER:</p>
<p>This program is licensed under (LICENSE), and as such may be incompatible with other GPL-licensed Everest programs.</p>
<p>Please contact the program's maintainer if you have questions.</p>
</div>
<p>If you are an Everest developer and host a project on our Git server, but do not want it associated with Everest, please submit an electronically signed form stating the following:</p>
<fhead><strong>FILE:</strong> WAIVER</fhead>
<divclass="file">
<p>Everest Linux Development Group hereby relinquishes all claims of ownership on program "foo" to developer "bar".
<p>Electronically signed by Foobar on 1/1/2024</p>
<p>Electronically signed by Everest Linux head developer on 1/1/2024</p>
</div>
<p><strong>2.3</strong> Proprietary Licenses</p>
<p>Programs hosted on our Git servers are never to be released under proprietary licenses.</p>