Changes between Version 88 and Version 89 of Developer/Coding/Conventions


Ignore:
Timestamp:
Oct 14, 2014, 6:46:07 PM (5 years ago)
Author:
Gedare
Comment:

/* Language and Compiler */

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Coding/Conventions

    v88 v89  
    2929 *  Use the RTEMS_ macros defined in score/basedefs.h for abstracting compiler-specific features.
    3030 *  Use NULL for the null pointer, and prefer to use explicit checks against NULL, e.g. 'if ( ptr != NULL )' instead of 'if ( !ptr )'.
    31  *  Use '(void) unused;' to mark unused parameters.
     31 *  Use '(void) unused;' to mark unused parameters and set-but-unused variables immediately after being set.
     32 *  Do not put function prototypes in C source files, any global functions should have a prototype in a header file and any private function should be declared static.
    3233= Formatting =
    3334