From f05eeb2091803b17f89045a685028e9e403f06eb Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 19 Apr 2016 13:39:00 +0200 Subject: score: Simplify _Objects_Initialize_information() Remove unused supports_global parameter. Convert _Objects_Initialize_information() to a macro to avoid use of RTEMS_MULTIPROCESSING define for each caller. --- cpukit/posix/src/pbarrier.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'cpukit/posix/src/pbarrier.c') diff --git a/cpukit/posix/src/pbarrier.c b/cpukit/posix/src/pbarrier.c index 1ae3115f80..8216a080b1 100644 --- a/cpukit/posix/src/pbarrier.c +++ b/cpukit/posix/src/pbarrier.c @@ -39,12 +39,8 @@ static void _POSIX_Barrier_Manager_initialization(void) /* maximum objects of this class */ sizeof( POSIX_Barrier_Control ),/* size of this object's control block */ true, /* true if the name is a string */ - _POSIX_PATH_MAX /* maximum length of each object's name */ -#if defined(RTEMS_MULTIPROCESSING) - , - false, /* true if this is a global object class */ - NULL /* Proxy extraction support callout */ -#endif + _POSIX_PATH_MAX, /* maximum length of each object's name */ + NULL /* Proxy extraction support callout */ ); } -- cgit v1.2.3