Changeset 8b9bc54 in rtems


Ignore:
Timestamp:
Nov 19, 2014, 8:49:46 PM (5 years ago)
Author:
Josh Oguin <josh.oguin@…>
Branches:
4.11, master
Children:
d4ec0a2
Parents:
c562d0c
git-author:
Josh Oguin <josh.oguin@…> (11/19/14 20:49:46)
git-committer:
Joel Sherrill <joel.sherrill@…> (11/26/14 13:52:00)
Message:

objectgetnameasstring.c: Reformat _Objects_Get() switch to follow pattern

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/src/objectgetnameasstring.c

    rc562d0c r8b9bc54  
    6060  switch ( location ) {
    6161
    62 #if defined(RTEMS_MULTIPROCESSING)
    63     case OBJECTS_REMOTE:
    64       /* not supported */
    65 #endif
    66     case OBJECTS_ERROR:
    67       return NULL;
    68 
    6962    case OBJECTS_LOCAL:
    7063
     
    9588      _Objects_Put( the_object );
    9689      return name;
     90
     91#if defined(RTEMS_MULTIPROCESSING)
     92    case OBJECTS_REMOTE:
     93      /* not supported */
     94#endif
     95    case OBJECTS_ERROR:
     96      return NULL;
     97
    9798  }
    9899  return NULL;                  /* unreachable path */
Note: See TracChangeset for help on using the changeset viewer.