367 | | |
368 | | Do not mix global and local variables and functions. |
369 | | Do not mix static and non-static statements. |
370 | | |
371 | | Follow typical structure of *.c file: |
372 | | |
373 | | {{{ |
374 | | /*** global variables ****************************************************************************/ |
375 | | }}} |
376 | | {{{ |
377 | | /*** file scope macro definitions ****************************************************************/ |
378 | | }}} |
379 | | {{{ |
380 | | /*** file scope type declarations ****************************************************************/ |
381 | | }}} |
382 | | {{{ |
383 | | /*** file scope variables ************************************************************************/ |
384 | | }}} |
385 | | {{{ |
386 | | /*** file scope functions ************************************************************************/ |
387 | | /* --------------------------------------------------------------------------------------------- */ |
388 | | }}} |
389 | | {{{ |
390 | | /* --------------------------------------------------------------------------------------------- */ |
391 | | /*** public functions ****************************************************************************/ |
392 | | /* --------------------------------------------------------------------------------------------- */ |
393 | | }}} |
394 | | (see [/browser/maint/templates maint/templates] in the source tree). |