Changeset 358bd740 in rtems for cpukit/sapi


Ignore:
Timestamp:
Feb 3, 2016, 11:41:02 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
10f28914
Parents:
51dc9a61
git-author:
Sebastian Huber <sebastian.huber@…> (02/03/16 11:41:02)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/17/16 08:15:01)
Message:

score: Avoid SCORE_EXTERN

Delete SCORE_INIT. This finally removes the

some.h:

#ifndef SOME_XYZ_EXTERN
#define SOME_XYZ_EXTERN extern
#endif
SOME_XYZ_EXTERN type xyz;

some_xyz.c:

#define SOME_XYZ_EXTERN
#include <some.h>

pattern in favour of

some.h:

extern type xyz;

some_xyz.c

#include <some.h>
type xyz;

Update #2559.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/sapi/src/exinit.c

    r51dc9a61 r358bd740  
    1919#include "config.h"
    2020#endif
    21 
    22 /*
    23  *  SCORE_INIT is defined so all of the super core
    24  *  data will be included in this object file.
    25  */
    26 
    27 #define SCORE_INIT
    2821
    2922#include <rtems/system.h>
     
    4942#include <rtems/score/wkspace.h>
    5043
     44const char _Copyright_Notice[] =
     45"COPYRIGHT (c) 1989-2008.\n\
     46On-Line Applications Research Corporation (OAR).\n";
     47
    5148static Objects_Information *
    5249_Internal_Objects[ OBJECTS_INTERNAL_CLASSES_LAST + 1 ];
     
    6259  &_POSIX_Objects[ 0 ]
    6360};
     61
     62API_Mutex_Control *_RTEMS_Allocator_Mutex;
     63
     64API_Mutex_Control *_Once_Mutex;
    6465
    6566static void rtems_initialize_data_structures(void)
Note: See TracChangeset for help on using the changeset viewer.